Exemplo n.º 1
0
 public bool DeleteAccountById(int acctId)
 {
     return(_accountRepo.DeleteAccount(acctId));
 }
Exemplo n.º 2
0
 public async void Delete(string content)
 {
     await _accountRepo.DeleteAccount(Int32.Parse(content));
 }
Exemplo n.º 3
0
        public IHttpActionResult DeleteAccount(int id)
        {
            var data = accountRepo.DeleteAccount(id);

            return(Ok(data));
        }