Esempio n. 1
0
 public SiafemService(
     ILogError logError, ISiafem siafemService, ICrudPrograma programa, ICrudFonte fonte,
     ICrudEstrutura estutura) : base(logError)
 {
     _estutura      = estutura;
     _fonte         = fonte;
     _logError      = logError;
     _siafemService = siafemService;
     _programa      = programa;
 }
 public CommonService(ILogError l, ICommon c, ICrudReserva p, IProdesp prodesp, ISiafem siafem, IChaveCicsmo chave) : base(l)
 {
     _prodesp  = new ProdespService(l, prodesp, new ProgramaDal(), new FonteDal(), new EstruturaDal(), new RegionalDal());
     _siafem   = new SiafemService(l, siafem, new ProgramaDal(), new FonteDal(), new EstruturaDal());
     _regional = new RegionalService(l, new RegionalDal());
     _reserva  = p;
     _chave    = new ChaveCicsmoService(l, chave);
     _common   = c;
 }