public ActionResult CarregaWorkArea(Guid projetoId) { var model = new CasoDeUsoIndexViewModel { ProjetoId = projetoId, Projetos = ProjetoViewModel.ToViewModel(this._projetoAppService.All()) }; return this.PartialView("WorkArea",model); }
public ActionResult Index(Guid projetoId) { var model = new CasoDeUsoIndexViewModel { ProjetoId = projetoId, Projetos = ProjetoViewModel.ToViewModel(this._projetoAppService.All()) }; return this.View(model); }