Пример #1
0
 public ReceitaViewController(ReceitaContext context, ReceitaUtilizadorContext contextRU, ReceitaPassoContext contextRP, PassoContext contextPasso,
                              AcaoContext contextAcao, IngredienteContext contextIngrediente, PassoIngredienteContext contextPassoIngrediente,
                              ReceitaIngredienteContext contextRI, IngredientePreferidoUtilizadorContext contextIPU,
                              EmentaSemanalContext contextES)
 {
     //_context = context;
     receitaHandling = new ReceitaHandling(context, contextRU, contextRP, contextPasso, contextAcao, contextIngrediente,
                                           contextPassoIngrediente, contextRI, contextIPU, contextES);
 }
Пример #2
0
 public ReceitaHandling(ReceitaContext context, ReceitaUtilizadorContext contextRU, ReceitaPassoContext contextRP, PassoContext contextPasso,
                        AcaoContext contextAcao, IngredienteContext contextIngrediente, PassoIngredienteContext contextPassoIngrediente,
                        ReceitaIngredienteContext contextRI, IngredientePreferidoUtilizadorContext contextIPU, EmentaSemanalContext contextES)
 {
     _context                   = context;
     _contextRU                 = contextRU;
     _contextRP                 = contextRP;
     _contextPasso              = contextPasso;
     _contextAcao               = contextAcao;
     _contextIngrediente        = contextIngrediente;
     _contextPassoIngrediente   = contextPassoIngrediente;
     _contextReceitaIngrediente = contextRI;
     _contextIPU                = contextIPU;
     _contextEmentaSemanal      = contextES;
 }