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