Exemplo n.º 1
0
        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;
 }
Exemplo n.º 3
0
 public LocationMoveController(ILocationMoveService locationMoveService)
 {
     _locationMoveService = locationMoveService;
 }