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

            return(Ok(data));
        }