public async Task <IActionResult> Insert([FromBody] FoodCategoryInsertViewModel model) { FoodCategory foodCategory = mapper.Map <FoodCategory>(model); Response response = await foodCategoryService.Insert(foodCategory); return(View()); }