Exemplo n.º 1
0
 public PASOController(IPASORepository pasoRepository)
 {
     this.pasoRepository = pasoRepository;
     this.recetaRepository = new RECETARepository();
 }
Exemplo n.º 2
0
 // If you are using Dependency Injection, you can delete the following constructor
 public PASOController()
     : this(new PASORepository())
 {
     this.recetaRepository = new RECETARepository();
 }