예제 #1
0
 // GET: AssignRoletoUser
 public ActionResult Assign()
 {
     try
     {
         AssignViewUserRoleModel assignViewUserRoleModel = new AssignViewUserRoleModel()
         {
             ListRole  = _role.GetAllActiveRoles(),
             ListUsers = _userMaster.GetAllUsersActiveList()
         };
         return(View(assignViewUserRoleModel));
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
 public ActionResult Create()
 {
     try
     {
         ToChucThiViewModel tochucthi = new ToChucThiViewModel()
         {
             ListUsers = _userMaster.GetAllUsersActiveList(),
             ListDeThi = _deThi.GetAllActiveDeThi()
         };
         return(View(tochucthi));
     }
     catch (Exception)
     {
         throw;
     }
 }