public AdministracionController()
 {
     context                = new SlsContext();
     MedioCobroService      = new MedioCobroService(context);
     TipoDocumentoService   = new TipoDocumentoService(context);
     TipoMonedaService      = new TipoMonedaService(context);
     CondicionFiscalService = new CondicionFiscalService(context);
     Mapper = ConfigureAutoMapper.MapperConfiguration.CreateMapper();
 }
 public PersonaController()
 {
     context        = new SlsContext();
     PersonaService = new PersonaService(context);
     Mapper         = ConfigureAutoMapper.MapperConfiguration.CreateMapper();
 }
 public CiudadController()
 {
     context       = new SlsContext();
     CiudadService = new CiudadService(context);
     Mapper        = ConfigureAutoMapper.MapperConfiguration.CreateMapper();
 }
 public EmpresaController()
 {
     context        = new SlsContext();
     EmpresaService = new EmpresaService(context);
     Mapper         = ConfigureAutoMapper.MapperConfiguration.CreateMapper();
 }
 public AgendaController()
 {
     context       = new SlsContext();
     AgendaService = new AgendaService(context);
     Mapper        = ConfigureAutoMapper.MapperConfiguration.CreateMapper();
 }
Esempio n. 6
0
 public ServicioController()
 {
     context         = new SlsContext();
     ServicioService = new ServicioService(context);
     Mapper          = ConfigureAutoMapper.MapperConfiguration.CreateMapper();
 }
 public TipoDictadoController()
 {
     context            = new SlsContext();
     TipoDictadoService = new TipoDictadoService(context);
     Mapper             = ConfigureAutoMapper.MapperConfiguration.CreateMapper();
 }