コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }