Пример #1
0
        public ActionResult GetOfferListPaginatedRequest()
        {
            Request MyRequest = new GetOfferListPaginatedRequest();

            GetSessionData(ref MyRequest);
            return(View(MyRequest));
        }
        public ActionResult GetOfferListPaginatedRequest()
        {
            Request MyRequest = new GetOfferListPaginatedRequest();

            if (HttpContext.Session.GetString(SessionToken) != null)
            {
                MyRequest._Login = HttpContext.Session.GetString(SessionLogin);
                MyRequest._Token = HttpContext.Session.GetString(SessionToken);
                MyRequest._EnvironmentSelected = (EnvironmentEnum)Enum.Parse(typeof(EnvironmentEnum), HttpContext.Session.GetString(SessionEnvironment));
            }
            return(View(MyRequest));
        }
 public ActionResult GetOfferListPaginatedMessage(GetOfferListPaginatedRequest MyRequest)
 {
     MyRequest.GetHeaderMessage();
     SetSessionData(MyRequest);
     return(View(new GetOfferListPaginatedMessage(MyRequest)));
 }