Skip to content

Instantly share code, notes, and snippets.

@RafaelLeonhardt
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RafaelLeonhardt/9424397 to your computer and use it in GitHub Desktop.
Save RafaelLeonhardt/9424397 to your computer and use it in GitHub Desktop.
using System;
using data.rafaelleonhardt.com.br.soacontractfirstcomwcf45.megasena.v1;
namespace RafaelLeonhardt.Artigos.SOAContractFirstComWCF45
{
public class MegasenaImplementation : MegasenaService
{
public ConcursoResponse ObterConcurso(ConcursoRequest request)
{
return new ConcursoResponse
{
Concurso = new Concurso
{
Numero = request.Numero,
Data = DateTime.Today,
Dezenas = new Dezenas
{
10, 20, 30, 40, 50, 60
}
}
};
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment