Example #1
0
 public UserServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>();
     _userGroupServices         = HostContainer.GetInstance <IUserGroupServices>();
     _userRepository            = new UserRepository(entities);
     _userInGroupRepository     = new UserInGroupRepository(entities);
 }
Example #2
0
 public UserServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _userGroupServices = HostContainer.GetInstance<IUserGroupServices>();
     _userRepository = new UserRepository(entities);
     _userInGroupRepository = new UserInGroupRepository(entities);
 }
Example #3
0
 public UserGroupsController(IUserGroupServices userGroupServices)
 {
     _userGroupServices = userGroupServices;
 }
Example #4
0
 public UserGroupsController(IUserGroupServices userGroupServices)
 {
     _userGroupServices = userGroupServices;
 }