コード例 #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)
            });
        }
コード例 #2
0
 public LocationMoveController(ILocationMoveService locationMoveService, ICarService carService)
 {
     _locationMoveService = locationMoveService;
     _carService          = carService;
 }
コード例 #3
0
 public LocationMoveController(ILocationMoveService locationMoveService)
 {
     _locationMoveService = locationMoveService;
 }