public async Task <ActionResult> DeleteBorrower(int id) { var checkDelete = await _librarymanager.DeleteBorrower(id); if (checkDelete == 0) { return(NotFound()); } return(Ok()); }