public ActionResult _DisplayUserDetails(string UserID) { List <Usage> lstUsage = new List <Usage>(); UsageHelper helper = new UsageHelper(); lstUsage = helper.GetListofMailbox(UserID); return(PartialView(lstUsage)); }
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)); }