public ActionResult FeatureList(int id) { RoleFeatureViewModel viewModel = new RoleFeatureViewModel() { Roles = roleSrv.GetAll().ToList(), RoleFeatures = featSrv.GetRoleFeat(id).ToList(), Features = featSrv.GetRestFeat(id).ToList(), CurrentRoleId = id }; return(View("EditRoleFeature", viewModel)); }