Esempio n. 1
0
 public UsuariosController(ContenerContext _context, IUserService _userService, IConfiguration _config, ILogger <Usuario> _loggers)
 {
     this.logger      = _loggers;
     this.config      = _config;
     this.context     = _context;
     this.userService = _userService;
 }
Esempio n. 2
0
 public ClientesController(ContenerContext _context, IRepository <Cliente> _repository) : base(_repository)
 {
     repository   = _repository;
     this.context = _context;
 }
Esempio n. 3
0
 public UserService(ContenerContext contexto, IOptions <AppSettings> appSettings, IConfiguration _config)
 {
     context      = contexto;
     _appSettings = appSettings.Value;
     this.config  = _config;
 }
Esempio n. 4
0
 public Repository(ContenerContext _context)
 {
     this.context = _context;
 }