public ActionResult Create(Guid projetoId) { var requisitos = this._requisitoAppService.Find(x => x.ProjetoId == projetoId, true); var model = new CasoDeUsoViewModel { Requisitos = RequisitoViewModel.ToViewModel(requisitos) }; return this.View(model); }
public ActionResult CreateCasoDeUso(CasoDeUsoViewModel model) { return null; }
public static CasoDeUso ToDomainModel(CasoDeUsoViewModel viewModel) { return Mapper.Map<CasoDeUso>(viewModel); }