public async Task <ActionResult <IEnumerable <ConsumableViewResource> > > GetAction([FromServices] IGet get, decimal North, decimal West, decimal Radius)
 {
     log.LogInformation($"querrys the data base for all items within {Radius} miles of N{North}, W{West}");
     return(await TryTask <IEnumerable <ConsumableViewResource> > .Run(async() => Ok(await get.Consumables(North, West, Radius))));
 }
 public async Task <ActionResult <IEnumerable <ConsumableViewResource> > > GetActionState([FromServices] IGet get, string state)
 {
     log.LogInformation($"querrys the database for all consumable resources in {state}");
     return(await TryTask <IEnumerable <ConsumableViewResource> > .Run(async() => Ok(await get.Consumables(item => item.State == state))));
 }
 public async Task <ActionResult <IEnumerable <ConsumableViewResource> > > GetAction([FromServices] IGet get)
 {
     return(await TryTask <IEnumerable <ConsumableViewResource> > .Run(async() => Ok(await get.Consumables())));
 }