Esempio n. 1
0
 public DashboardController(IConfiguration config, ApplicationDbContext context, IFcmService fcm, IPeriodeService periode)
 {
     _fcm     = fcm;
     _periode = periode;
     _config  = config;
     _context = context;
 }
Esempio n. 2
0
 public PeriodeController(IConfiguration config, ApplicationDbContext context, IPeriodeService periode, IFcmService fcm)
 {
     _fmc     = fcm;
     _config  = config;
     _context = context;
     _periode = periode;
 }
Esempio n. 3
0
 public AbsenController(IConfiguration config, ApplicationDbContext dbcontext, IFcmService fcm, IAbsenModel
                        absenService, IPeriodeService periode)
 {
     _periode = periode;
     _config  = config;
     _context = dbcontext;
     _absen   = absenService;
     _fcm     = fcm;
 }
Esempio n. 4
0
 public KaryawanController(IConfiguration config, SignInManager <IdentityUser> signInManager,
                           ILogger <LoginModel> logger,
                           UserManager <IdentityUser> userManager, ApplicationDbContext dbcontext,
                           IEmailSender emailSender, IPeriodeService periode)
 {
     _periode     = periode;
     _config      = config;
     _userManager = userManager;
     _context     = dbcontext;
     _emailSender = emailSender;
 }
Esempio n. 5
0
        public ajoutPeriode()
        {
            InitializeComponent();

            DataContext = this;
            RetrieveArgs = new RetrievePaieArgs();
            _periodeService = ServiceFactory.Instance.GetService<IPeriodeService>();
            _applicationService = ServiceFactory.Instance.GetService<IApplicationService>();

            try  { Periodes = new ObservableCollection<PeriodePaie>(_periodeService.RetrieveAll()); }
            catch (Exception) {  MessageBox.Show("Votre base de données n'est pas accessible. Veuillez vous référer au document de configuration"); }
        }
Esempio n. 6
0
 public PeriodeController(IPeriodeService service)
 {
     _periodeService = service;
 }
Esempio n. 7
0
 public UndianController(ILogger <HomeController> logger, ApplicationDbContext context, IPeriodeService periodeService)
 {
     _logger         = logger;
     _context        = context;
     _periodeService = periodeService;
 }
Esempio n. 8
0
 public PeriodeController(IPeriodeService service)
 {
     _periodeService = service;
 }