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