public async Task AddMeal([FromForm] AddMealDto input) //add meal to category
 {
     string userId         = User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
     string uniqueFileName = GetMovieImageName(input.Image);
     var    meal           = Meal.Create(input.Name, uniqueFileName, input.Price, input.Calory, input.CategoryId, input.RestaurantId, userId);
     await _mealRepo.AddAsync(meal);
 }
        public async Task <ApiResponse> AddMeal(AddMealDto dto)
        {
            AddNewMealCommand command = new AddNewMealCommand(dto.MealName, dto.Ingredients);
            var result = await _mediatr.Send(command);

            return(new ApiResponse("Meal Added Successfully", result, statusCode: 201));
        }