Beispiel #1
0
 public static IEnumerable <string> GetCustomerAllTimeBoughtProducts(int customerId)
 {
     return(DbReadConnection.ExecStoredProcedure <string>("GetCustomerAllTimeBoughtProducts", new { customerId }));
 }
Beispiel #2
0
 public static decimal GetCustomerAllTimeShoppingTotal(int customerId)
 {
     return(DbReadConnection.ExecStoredProcedure <decimal>("GetCustomerAllTimeExpense", new { customerId }).SingleOrDefault());
 }