public List <OrderItemStatus> GetStatuses() { return(ExecuteFaultHandledOperation(() => { List <OrderItemStatus> order_statuses = _cache.Get(CacheKeys.OrderItemStatuses) as List <OrderItemStatus>; if (order_statuses == null) { Log.Info("GetStatuses Order Status called"); order_statuses = new List <OrderItemStatus>(); var statuses_data = _order_status_repo.GetAll(); foreach (OrderStatusData status_data in statuses_data) { order_statuses.Add(_order_item_status_es.Map(status_data)); } _cache.Set(CacheKeys.OrderItemStatuses, order_statuses); Log.Debug("GetStatuses Order Status complete"); } return order_statuses; })); }
public IList <OrderStatus> GetOrderStatuses() { return(_orderStatusRepository.GetAll()); }
public IEnumerable <OrderStatus> GetAllOrderStatuses() { var orderStatuss = orderStatusesRepository.GetAll(); return(orderStatuss); }
public ICollection <OrderStatus> GetAllWithoutPagination() { return(_orderStatusRepository.GetAll().ToList()); }
public async Task <IEnumerable <OrderStatus> > GetAll() { return(await repository.GetAll()); }
public IEnumerable <OrderStatus> GetAll() { return(_orderStatusRepository.GetAll()); }
public IQueryable <OrderStatus> GetOrderStatuss() { return(_repository.GetAll()); }
public IEnumerable <OrderStatus> GetAll() { return(db.GetAll()); }