예제 #1
0
 public AppProduct GetAppProductByStoreID(string storeID)
 {
     storeID = storeID.ToUpper();
     return(AppProducts
            .Where(x => x.StoreID.ToUpper().Equals(storeID))
            .FirstOrDefault());
 }
예제 #2
0
 public AppProduct GetAppProductByProductID(string productID)
 {
     productID = productID.ToUpper();
     return(AppProducts
            .Where(x => x.ProductID.ToUpper().Equals(productID))
            .FirstOrDefault());
 }