Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IDataResult <List <OrderDto> > GetOrderDetailsAsync() { var _getOrderDetailsAsync = _orderDal.GetOrderDetailsAsync().Result; if (_getOrderDetailsAsync == null) { return(new ErrorDataResult <List <OrderDto> >(OrderMessages.RecordNotFound)); } return(new SuccessDataResult <List <OrderDto> >(_getOrderDetailsAsync, OrderMessages.OrderDetailsListed)); }