Created
March 6, 2022 20:03
-
-
Save flaviorl-net/5f83d7336a6a06fac0e7e770998be755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
var funilFactory = new FunilFactory(); | |
//Cadastra James como um Suspect | |
funilFactory.ObterFunil<Suspect>() | |
.Cadastrar(new FunilModel() { Nome = "James" }); | |
//Cadastra James como um Prospect | |
funilFactory.ObterFunil<Prospect>() | |
.Cadastrar(new FunilModel() { Nome = "James" }); | |
Console.ReadLine(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment