コード例 #1
0
        public ActionResult _DisplayUserDetails(string UserID)
        {
            List <Usage> lstUsage = new List <Usage>();
            UsageHelper  helper   = new UsageHelper();

            lstUsage = helper.GetListofMailbox(UserID);
            return(PartialView(lstUsage));
        }
コード例 #2
0
        public ActionResult Index()
        {
            List <Usage> lstUsage = new List <Usage>();
            UsageHelper  helper   = new UsageHelper();
            string       UUID     = Request.QueryString["UUID"] != null ? Request.QueryString["UUID"].ToString() : string.Empty;

            TempData["UserName"] = helper.GetUserName(UUID);
            Session["UserID"]    = UUID;
            lstUsage             = helper.GetListofMailbox(UUID);
            ViewBag.Title        = "Mailbox Usage Survey";
            return(View(lstUsage));
        }