public JsonResult GetCoffeeTypes() { return(new JsonResult(_coffeeRepository.GetCoffeeTypes().Select(ct => new { ct.Id, ct.Name }))); }