Пример #1
0
        public ActionResult VerifyUsers(int PageNumber)
        {
            HttpCookie nameCookie = Request.Cookies["_RRAUN"];

            if (nameCookie != null)
            {
                int TotalPageNumber = 0;
                ViewBag.CurrentPageNumber = PageNumber;
                List <UserDetailsModel>   UserList = new List <UserDetailsModel>();
                InformationServiceWrapper Obj      = new InformationServiceWrapper();
                UserList                = Obj.FetchUnverifiedUsers(PageNumber, out TotalPageNumber);
                ViewBag.UserList        = UserList;
                ViewBag.TotalPageNumber = TotalPageNumber;
                return(View());
            }
            else
            {
                return(RedirectToAction("Login", "Admin"));
            }
        }