Пример #1
0
        public ResultViewModel <int> SetRespostaSimuladoAgendado(RespostaObjetivaPost resp)
        {
            var result = Execute(() =>
            {
                var business = new QuestaoBusiness(new QuestaoEntity(), new ImagemEntity(), new VideoEntity(), new EspecialidadeEntity(), new FuncionarioEntity(), new SimuladoEntity());
                var resposta = business.SetRespostaObjetivaSimuladoAgendado(resp);
                return(resposta);
            });

            return(GetResultViewModel(result));
        }
 public int SetApostilaRespostaObjetiva(RespostaObjetivaPost resp)
 {
     return(new QuestaoBusiness(new QuestaoEntity(), new ImagemEntity(), new VideoEntity(), new EspecialidadeEntity(),
                                new FuncionarioEntity(), new SimuladoEntity(), new MontaProvaEntity()).SetRespostaObjetiva(resp));
 }