Ejemplo n.º 1
0
 public async Task <bool> UpdateStudentAccountAsync(string key, IStudentAccount account)
 {
     return(await _accountRepository.UpdateAsync(key, account.Map <IStudentAccount, AccountDto>()));
 }
Ejemplo n.º 2
0
 public async Task <bool> AddStudentAccountDbAsync(IStudentAccount account)
 {
     return(await _accountRepository.CreateAsync(account.Map <IStudentAccount, AccountDto>()));
 }