public ErrorModel RemoveDishFromMenu(RemoveDishModel removeModel)
        {
            var errors = new ErrorModel();

            if (removeModel == null)
            {
                errors.Messages.Add("Invalid data.");
                return(errors);
            }
            var dishId     = removeModel.DishId;
            var providerId = removeModel.ProviderId;

            try
            {
                DbContext.RemoveDish(dishId, providerId);
                return(errors);
            }
            catch (Exception ex)
            {
                errors.Messages.Add(ex.Message);
                return(errors);
            }
        }
 public ErrorModel RemoveDishFromMenu(RemoveDishModel removeModel)
 {
     return(Service.RemoveDishFromMenu(removeModel));
 }