public DashboardController(IConfiguration config, ApplicationDbContext context, IFcmService fcm, IPeriodeService periode) { _fcm = fcm; _periode = periode; _config = config; _context = context; }
public PeriodeController(IConfiguration config, ApplicationDbContext context, IPeriodeService periode, IFcmService fcm) { _fmc = fcm; _config = config; _context = context; _periode = periode; }
public AbsenController(IConfiguration config, ApplicationDbContext dbcontext, IFcmService fcm, IAbsenModel absenService, IPeriodeService periode) { _periode = periode; _config = config; _context = dbcontext; _absen = absenService; _fcm = fcm; }
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; }
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"); } }
public PeriodeController(IPeriodeService service) { _periodeService = service; }
public UndianController(ILogger <HomeController> logger, ApplicationDbContext context, IPeriodeService periodeService) { _logger = logger; _context = context; _periodeService = periodeService; }