public ActionResult AccountDisplay() { int accountId = DotNet.Utils.Untility.ConvertFactory.ToInt32(HttpUtility.HtmlEncode(Request["accountId"]), 0); IAccountService service = new AccountService(); var model = service.GetAccount(new AccountSingleParam() { AccountId = accountId }); IDomainService domainService = new DomainService(); var subdomain = domainService.GetDomain(new DomainSingleParam() { DomainId=model.SubmitDomainId }); ViewBag.SubmitDomain = subdomain; return View(model); }
public ActionResult DomainDisplay() { int domainId = DotNet.Utils.Untility.ConvertFactory.ToInt32(Request["domainId"], 0); IDomainService service = new DomainService(); var domain = service.GetDomain(new DomainSingleParam() { DomainId=domainId }); return View(domain); }