Example #1
0
        public ActionResult MenuHeaderThongTin()
        {
            //var Execute = new InfomationRepository();
            //var modelThongTin = Execute.GetAll();

            var modelThongTin = _informationService.GetAll();

            return(PartialView(modelThongTin));
        }
Example #2
0
 public void LoadInformations()
 {
     dgwInformations.DataSource = _informationService.GetAll();
 }
Example #3
0
        public APIResponseViewModel GetAllInformations(int page)
        {
            var Informations = _InformationService.GetAll(page);

            return(GetRespons(Informations, "Data Retrive Sucess"));
        }