public IActionResult Index() { var ressult = sachRepository.GetAll().ToList(); return(View(ressult.ToList())); }
public List <Sach> GetAll() { return(_repository.GetAll()); }
public static List <book> GetAll() { return(repository.GetAll()); }