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