Exemplo n.º 1
0
 public UsuarioService(NaacCelularesContext Context)
 {
     this.Context             = Context;
     liderAvaluosService      = new LiderAvaluosService(Context);
     profecionalVentasService = new ProfecionalVentasService(Context);
     ValidarUsuariosPredeterminados();
 }
 public ProfecionalVentasService(NaacCelularesContext Context)
 {
     this.Context      = Context;
     profecionalVentas = new ProfecionalVentas {
         Apellidos         = "Alvarez Campuzano",
         FechaContratacion = DateTime.Now,
         identificacion    = "1120754743",
         Nombres           = "Naac Alvarez",
         Puesto            = "Profecional Ventas",
         Telefono          = "3017120333"
     };
 }
 public LiderAvaluosService(NaacCelularesContext Context)
 {
     this.Context = Context;
     liderAvaluos = new LiderAvaluo {
         Apellidos         = "Alvarez Campuzano",
         FechaContratacion = DateTime.Now,
         identificacion    = "1120754742",
         Nombres           = "Nicolas Alvarez",
         Puesto            = "Lider Avaluo",
         Telefono          = "3017120334"
     };
 }
Exemplo n.º 4
0
 public ProveedorController(NaacCelularesContext context, IOptions <AppSetting> appSettings)
 {
     JwtService = new JwtService(appSettings);
     Service    = new ProveedorService(context);
 }
Exemplo n.º 5
0
 public UsuarioController(NaacCelularesContext context, IOptions <AppSetting> appSettings)
 {
     JwtService = new JwtService(appSettings);
     Service    = new UsuarioService(context);
 }
 public InteresadoService(NaacCelularesContext Context)
 {
     this.Context = Context;
 }
 public FacturaVentaService(NaacCelularesContext Context)
 {
     this.Context = Context;
 }
Exemplo n.º 8
0
 public ProveedorService(NaacCelularesContext Context)
 {
     this.Context = Context;
 }
Exemplo n.º 9
0
 public FacturaVentaController(NaacCelularesContext context, IOptions <AppSetting> appSettings)
 {
     JwtService = new JwtService(appSettings);
     Service    = new FacturaVentaService(context);
     dispositivoMovilService = new DispositivoMovilService(context);
 }
Exemplo n.º 10
0
 public InteresadoController(NaacCelularesContext context, IOptions <AppSetting> appSettings)
 {
     JwtService = new JwtService(appSettings);
     Service    = new InteresadoService(context);
 }
 public DispositivoMovilService(NaacCelularesContext Context)
 {
     this.Context = Context;
 }
 public FacturaCompraController(NaacCelularesContext context, IOptions <AppSetting> appSettings)
 {
     JwtService = new JwtService(appSettings);
     Service    = new FacturaCompraService(context);
 }