예제 #1
0
        public ActionResult RemoveUserOrg(int?id, string user)
        {
            if (id.HasValue)
            {
                UserOrgObject.GetUserOrg(id.Value)?.Delete();
            }

            return(UserOrgsPartial(user));
        }
예제 #2
0
 public UserOrgsModel(string employeeId)
 {
     UserEmployeeId = employeeId;
     UserOrgs       = UserOrgObject.GetUserOrgs(employeeId);
 }