Esempio n. 1
0
 public UserService(IUtilityService utilityService, IDataContextFactory dataContextFactory, IUtilityUserRoleService utilityUserRoleService, IRoleService roleService)
 {
     _commonDBContext        = dataContextFactory.CreateCommonDBContext();
     _utilityService         = utilityService;
     _utilityUserRoleService = utilityUserRoleService;
     _roleService            = roleService;
 }
 public UtilityUserRoleService(IDataContextFactory dataContextFactory)
 {
     _commmonDBContext = dataContextFactory.CreateCommonDBContext();
 }
Esempio n. 3
0
 public HolidayService()
 {
     contextFactory = new DataContextFactory();
     context        = contextFactory.CreateCommonDBContext();
 }