public bool DeleteAccountById(int acctId) { return(_accountRepo.DeleteAccount(acctId)); }
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)); }