/// <summary> /// 发布菜品 /// </summary> /// <param name="objDish"></param> /// <returns></returns> public int AddDish(Dishes objDish) { return(objdish.AddDish(objDish)); }
public void AddDish(Dish dish) => _dishService.AddDish(dish);
public async Task <IActionResult> AddDish(AddDishRequest addDishRequest) { var result = await _dishService.AddDish(addDishRequest); return(Ok(result)); }
public int AddDish(Dish objDish) { return(objDishService.AddDish(objDish)); }