Example #1
0
 public ActionResult Index()
 {
     _model.TotalBooks       = _homeServices.TotalBooks();
     _model.TotalIssueBooks  = _homeServices.TotalIssueBooks();
     _model.TotalReturnBooks = _homeServices.TotalReturnBooks();
     _model.TotalRoles       = _homeServices.TotalRoles();
     _model.TotalStaffs      = _homeServices.TotalStaffs();
     _model.TotalStudents    = _homeServices.TotalStudents();
     _model.TotalUsers       = _homeServices.TotalUsers();
     return(View(_model));
 }