public ActionResult Index() { var screenOperationView = new ScreenOperationViewModel { ScreenList = new SelectList(_screenService.GetAll(), "Id", "Title"), }; return(View(screenOperationView)); }
public ActionResult Index() { var roleWiseScreenPermissionView = new RoleWiseScreenPermissionViewModel { ScreenList = new SelectList(_screenService.GetAll(), "Id", "Title"), RoleList = new SelectList(_roleService.GetAll(), "Id", "Name"), ModuleList = new SelectList(_moduleService.GetAll(), "Id", "Name"), }; return(View(roleWiseScreenPermissionView)); }
public ActionResult Index() { var additionalScreenPermissionView = new AdditionalScreenPermissionViewModel { ScreenList = new SelectList(_screenService.GetAll(), "Id", "Title"), UserList = new SelectList(_userInformationService.GetAll(), "Id", "Username"), ModuleList = new SelectList(_moduleService.GetAll(), "Id", "Name"), }; return(View(additionalScreenPermissionView)); }