public LocationController(ILogger <LocationController> logger, IWeather weatherSvc, ITimeZone timeZoneSvc, IElevation elevationSvc) { _logger = logger; _weatherSvc = weatherSvc; _timeZoneSvc = timeZoneSvc; _elevationSvc = elevationSvc; }
public static Task <CutSheet.CutSheet> GetCutSheetAsync(IElevation elevation) { return(CutSheet.Manager.GetCutSheetAsync(elevation)); }
public async Task <HttpResponseMessage> Get(string a, string f, int id) { HttpResponseMessage r = Request.CreateResponse(); IElevation elev = await ElevationManager.GetElevationAsync(id); CutSheet.CutSheet cutSheet = await AlumCloudPlans.Manager.GetCutSheetAsync(elev);