//[AccessHelper(Menu = MenuHelper.Associacao, Screen = ScreensHelper.PerfilTreinamentoItemXPerfilItem, Feature = FeaturesHelper.Editar)] public ActionResult Create() { IEnumerable <tblPerfis> activityProfile; activityProfile = _profileTraining.GetTrainingProfiles(); ViewData["PerfilTreinamentos"] = activityProfile; return(View("Create")); }
public ActionResult Create() { IEnumerable <tblPerfis> trainingProile; trainingProile = _trainingProfile.GetTrainingProfiles(); ViewData["PerfilTreinamento"] = trainingProile; ViewBag.SelectedProfile = _trainingProfile.GetFirstProfile(); return(View("Create")); }