コード例 #1
0
        public ActionResult GetRACI(string[] contact_keys)
        {
            ViewData["RACI"] = _contactFacade.GetRACI();
            var orgResp = _orgFacade.Find(CurrentUser.User.org_key.ToString());
            var model   = new RACIViewModel();

            model.Organization = orgResp.Success ? orgResp.Result : new CoOrganization();
            model.Contacts     = GetFilterContacts(contact_keys);

            return(PartialView("RACI", model));
        }
コード例 #2
0
        // GET: Organization/Edit/Org_key
        public ActionResult Edit(string org_key)
        {
            var model = _organizationFacade.Find(org_key);

            return(View(model.Result));
        }