Пример #1
0
        public AppResponseView AcceptOrder(OrderDetailsModel request)
        {
            AppResponseView  response    = new AppResponseView();
            IOrderDataAccess _repository = new OrderDataAccess();

            response.Message = _repository.AcceptOrder(request);
            if (response.Message == "Order Accepted successfully")
            {
                response.Status = 1;
            }
            return(response);
        }