public async Task <IActionResult> Delete(long id) { var result = await _repo.DeleteAccountAsync(id); if (result > 0) { return(Ok()); } else { return(NotFound()); } }
public async Task <IActionResult> Delete(long id) { var result = await _repo.DeleteAccountAsync(id); if (result > 0) { return(Ok()); } else { return(NotFound()); } }