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