public async Task <IActionResult> Index() { var response = await booklistDac.Gets(it => !it.DeleteDate.HasValue); return(View(response)); }
public async Task <IEnumerable <BookList> > Gets() { var response = await booklistDac.Gets(it => !it.DeleteDate.HasValue); return(response); }