public ParkingController() { var uri = new Uri(Configuration.WebApiUrl); var cred = new Microsoft.Rest.BasicAuthenticationCredentials(); var client = new Services.WebApi.ExcerciseOneWebApi(uri, cred); var svc = new Services.WebApi.Database(client); this.api = svc; }
public ParkingController(Services.WebApi.IDatabase api) { this.api = api; }
public RouteController(Services.WebApi.IDatabase svc) { this.api = svc; }
public VehicleController(Services.WebApi.IDatabase api) { this.api = api; }