Ejemplo n.º 1
0
 public DominioController(IDominioRepository dominioRepository,
                          IEstabelecimentoCommandService estabelecimentoCommandService,
                          ITransformer <TipoDominio, TipoDominioModel> tipoDominioTransformer)
 {
     _dominioRepository             = dominioRepository;
     _estabelecimentoCommandService = estabelecimentoCommandService;
     _tipoDominioTransformer        = tipoDominioTransformer;
 }
 public EstabelecimentoController(IDominioRepository dominioRepository,
                                  IEstabelecimentoCommandService estabelecimentoCommandService,
                                  ITransformer <Estabelecimento, EstabelecimentoModel> estabelecimentoTransformer)
 {
     _dominioRepository             = dominioRepository;
     _estabelecimentoCommandService = estabelecimentoCommandService;
     _estabelecimentoTransformer    = estabelecimentoTransformer;
 }