Ejemplo n.º 1
0
        public AppResponseView CancellOrder(OrderDetailsModel request)
        {
            AppResponseView  response    = new AppResponseView();
            IOrderDataAccess _repository = new OrderDataAccess();

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