public ErrorModel UpdateOrderItemStatus(UpdateOrderItemModel updateModel)
 {
     return Service.UpdateOrderItemStatus(updateModel);
 }
        public ErrorModel UpdateOrderItemStatus(UpdateOrderItemModel updateModel)
        {
            var errors = new ErrorModel();
            if (updateModel == null)
            {
                errors.Messages.Add("Invalid data. Please try again!");
                return errors;
            }

            try
            {
                DbContext.UpdateOrderItemStatus(updateModel.OrderId, updateModel.DishId, updateModel.ProviderId, updateModel.TargetStatus);
            }
            catch (Exception ex)
            {
                errors.Messages.Add(ex.Message);
            }
            return errors;
        }