public DocenteController(IConfiguration configuration)
        {
            Configuration = configuration;
            string connectionString = Configuration["ConnectionStrings:DefaultConnection"];

            _docenteService = new DocenteService(connectionString);
        }
Пример #2
0
 public CompaAdminViewModel()
 {
     Docentes       = new ObservableCollection <Docente>();
     _dialogService = new DialogService();
     doc            = new DocenteService();
     LoadDocentes();
     isRefreshing = false;
 }
 public DocenteController(AsignaturaContext asignaturaContext)
 {
     _service = new DocenteService(asignaturaContext);
 }
Пример #4
0
 public DocenteController(ExpoSoftwareContext context)
 {
     _DocenteService = new DocenteService(context);
 }
Пример #5
0
 public DocenteController(ExposoftwareContext context, IHubContext <SignalHub> hubContext)
 {
     _hubContext     = hubContext;
     _docenteService = new DocenteService(context);
     _emailService   = new EmailServiceDocente(context);
 }
Пример #6
0
 public DocenteController(DocenteService servico)
 {
     _servico = servico;
 }
 public DocenteController(DocenteService DocenteService)
 {
     _DocenteService = DocenteService;
 }