[HttpGet]
[Route("codes/locations")]
public IActionResult GetA()
{
List<Locations> objLocations = new List<Locations>();
LocationsControl objLocationsControl = new LocationsControl(configuration);
objLocations = objLocationsControl.GetA();
return Ok(objLocations);
}
So now i have another functions like GetB(), GetC() etc which may have these different versions as per customers (for example GetB() having 10 different versions etc). In Future these all functions will have different versions for different customers. For example Customer C1 using Version 1 for GetA() and another customer C2 using Version V5 for GetA(). Similarly for GetB(), GetC() etc.
Here I need to advise customer each time, which version to be use and might lead to confusions and issues as well. And also debugging for each version will get more difficult.
So is there any efficient way to handle such scenarios?
Thanks And Regards
Neelesh Malvi