public ActionResult CoffeeEntry(string id) { return(View( string.IsNullOrEmpty(id) ? new Coffee { PartitionKey = "" } : coffeeService.GetById(id))); }
public Task <Coffee> GetById(string id) { return(_coffeeService.GetById(id)); }