Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Concurso ObterConcursoValidoParaIntegracaoDeSistema()
- {
- Bolao bolao = new Bolao();
- List<Aposta> listaApostas = new List<Aposta>();
- listaApostas = bolao.GerarApostas(new Random(), 100);
- Concurso concurso = new Concurso
- {
- Codigo = "1",
- DataTermino = DateTime.Now.AddDays(7),
- ListaApostas = listaApostas,
- Premio = 100000
- };
- concurso.GerarResultado();
- return concurso;
- }
- public static Concurso ObterConcursoValidoParaIntegracaoDeSistema_SemResultado()
- {
- Bolao bolao = new Bolao();
- List<Aposta> listaApostas = new List<Aposta>();
- listaApostas = bolao.GerarApostas(new Random(), 100);
- Concurso concurso = new Concurso
- {
- Codigo = "1",
- DataTermino = DateTime.Now.AddDays(7),
- ListaApostas = listaApostas,
- Premio = 100000
- };
- return concurso;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement