Exemple #1
0
 public static IEnumerable <PaymentCodesModel> GetEnabledItem()
 {
     return(CommonDA.GetAllItem <PaymentCodesModel>("PaymentCodes").Where(p => p.IsEnabled));
 }
 public static MemberShipMailModel GetItem(long id)
 {
     return(CommonDA.GetItem <MemberShipMailModel>("MemberShipSendMail", id));
 }
Exemple #3
0
 public static IEnumerable <PaymentCodesModel> GetAllItem()
 {
     return(CommonDA.GetAllItem <PaymentCodesModel>("PaymentCodes").OrderBy(p => p.Sort));
 }
Exemple #4
0
 public static IEnumerable <ShippingCodesModel> GetEnabledItem()
 {
     return(CommonDA.GetAllItem <ShippingCodesModel>("ShippingCodes").Where(p => p.IsEnabled));
 }
Exemple #5
0
 public static IEnumerable <ShippingCodesModel> GetAllItem()
 {
     return(CommonDA.GetAllItem <ShippingCodesModel>("ShippingCodes").OrderBy(p => p.Sort));
 }
Exemple #6
0
 public static FormMailModel GetItem(long id)
 {
     return(CommonDA.GetItem <FormMailModel>("FormMail", id));
 }
Exemple #7
0
 public static StoreModels GetItem(long id)
 {
     return(CommonDA.GetItem <StoreModels>("Store", id));
 }
Exemple #8
0
 public static void Sort(long SiteID, IEnumerable <WorkV3.Common.SortItem> items)
 {
     CommonDA.Sort("SiteLangMenu", items, "SiteID = " + SiteID);
 }