public LocationMoveService() { var host = ConfigHelper.ApiUrl; var apiBaseUrl = host + "v1/LocationMove"; _client = RestService.For <ILocationMoveService>(new HttpClient(new AuthenticatedHttpClientHandler(SessionHelper.GetUserToken)) { BaseAddress = new Uri(apiBaseUrl) }); }
public LocationMoveController(ILocationMoveService locationMoveService, ICarService carService) { _locationMoveService = locationMoveService; _carService = carService; }
public LocationMoveController(ILocationMoveService locationMoveService) { _locationMoveService = locationMoveService; }