Example #1
0
        //
        // GET: /ConferenceDeclaration/

        public ActionResult Index(int pageIndex = 1)
        {
            FindAllItemReponse <ConferenceDeclarationModel> response = _conService.GetConference(Constants.Constants.PAGE_SIZE, pageIndex);

            if (response.Items == null)
            {
                response.Items = new List <ConferenceDeclarationModel>();
            }
            ViewBag.CurrentNode = "Conference";
            return(View(response));
        }
        public ActionResult Index()
        {
            FindAllItemReponse <ConferenceDeclarationModel> response = _conferenceService.GetConference();

            return(View(response.Items));
        }