Ejemplo n.º 1
0
        public static List <StoreModels> GetAllItem(long SiteID)
        {
            var storeList = CommonDA.GetAllItem <StoreModels>("Store");

            if (storeList != null && storeList.Count() > 0)
            {
                var resultList = storeList.Where(s => s.SiteID == SiteID);
                return(resultList.ToList());
            }
            return(null);
        }
Ejemplo n.º 2
0
 public static IEnumerable <PaymentCodesModel> GetEnabledItem()
 {
     return(CommonDA.GetAllItem <PaymentCodesModel>("PaymentCodes").Where(p => p.IsEnabled));
 }
Ejemplo n.º 3
0
 public static IEnumerable <PaymentCodesModel> GetAllItem()
 {
     return(CommonDA.GetAllItem <PaymentCodesModel>("PaymentCodes").OrderBy(p => p.Sort));
 }
Ejemplo n.º 4
0
 public static IEnumerable <ShippingCodesModel> GetEnabledItem()
 {
     return(CommonDA.GetAllItem <ShippingCodesModel>("ShippingCodes").Where(p => p.IsEnabled));
 }
Ejemplo n.º 5
0
 public static IEnumerable <ShippingCodesModel> GetAllItem()
 {
     return(CommonDA.GetAllItem <ShippingCodesModel>("ShippingCodes").OrderBy(p => p.Sort));
 }