Example #1
0
        public IActionResult Index()
        {
            var ressult = sachRepository.GetAll().ToList();

            return(View(ressult.ToList()));
        }
Example #2
0
 public List <Sach> GetAll()
 {
     return(_repository.GetAll());
 }
Example #3
0
 public static List <book> GetAll()
 {
     return(repository.GetAll());
 }