public ActionResult ListaImportada() { var status = EnumStatusLaudo.Importado.ToString(); var laudos = BuscarLaudosPorStatus(status); var opcoesHelper = new OpcoesHelper(); var model = new ListaLaudoViewModel(status, laudos, null) { ListaResponsaveisTecnicos = opcoesHelper.ObterOpcoesResponsaveisTecnicos(UsuarioRepositorio.BuscarPorPerfil(WorkLifetimeManager.Value, EnumPerfil.UsuarioComum)) }; return(PartialView(model)); }
public ActionResult ListaImportada() { var status = EnumStatusLaudo.Importado.ToString(); var laudos = BuscarLaudosPorStatus(status); var opcoesHelper = new OpcoesHelper(); var model = new ListaLaudoViewModel(status, laudos, null) { ListaResponsaveisTecnicos = opcoesHelper.ObterOpcoesResponsaveisTecnicos(UsuarioRepositorio.BuscarPorPerfil(WorkLifetimeManager.Value, EnumPerfil.UsuarioComum)) }; return PartialView(model); }