Esempio n. 1
0
 public void ClassFactoriesRegistration(IClassFactoryRegister register)
 {
     register.AddFactoryForSingleton(() => (IWorkHoursDataService) new WorkHoursDataService());
 }
Esempio n. 2
0
 public void ClassFactoriesRegistration(IClassFactoryRegister register)
 {
     register.AddFactoryForSingleton(() => (ISessionsService) new SessionsService());
 }