public async Task <ActionResult <Inventory> > Get(string name) { log.Info("Retreiving inventory from database based on ingredient name"); return(Repo.GetInventoriesByName(name)); }