예제 #1
0
        public Task <IEnumerable <User> > SearchUser(string username)
        {
            var parameters = new
            {
                Username = username
            };

            return(_databaseAccessor.QueryMultipleProcedureAsync <User>("sp_SearchUserByUserName", parameters));
        }
예제 #2
0
 public Task <IEnumerable <IncomeCategory> > GetIncomeCategories()
 {
     return(_databaseAccessor.QueryMultipleProcedureAsync <IncomeCategory>("sp_SelectIncomeCategories"));
 }
예제 #3
0
 public Task <IEnumerable <ExpenseDetail> > GetExpenseDetails()
 {
     return(_databaseAccessor.QueryMultipleProcedureAsync <ExpenseDetail>("sp_SelectExpenseDetails"));
 }
 public Task <IEnumerable <ExpenseSubcategory> > GetExpenseSubcategories()
 {
     return(_databaseAccessor.QueryMultipleProcedureAsync <ExpenseSubcategory>("sp_SelectExpenseSubcategories"));
 }
예제 #5
0
 public Task <IEnumerable <Account> > GetAccounts()
 {
     return(_databaseAccessor.QueryMultipleProcedureAsync <Account>("sp_SelectAccountDetails"));
 }
 public Task <IEnumerable <TransferDetail> > GetTransferDetails()
 {
     return(_databaseAccessor.QueryMultipleProcedureAsync <TransferDetail>("sp_SelectTransferDetails"));
 }