public async Task <ActionResult> makeUnavailable(int dish_id) { // Making a dish unavailable try { await _repository.makeUnavailable(dish_id); return(Ok("Dish is now unavailable!\n")); } catch { return(BadRequest("Dish could not be made unavailable\n")); } }