public UserServices(PXHotelEntities entities) { _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>(); _userGroupServices = HostContainer.GetInstance <IUserGroupServices>(); _userRepository = new UserRepository(entities); _userInGroupRepository = new UserInGroupRepository(entities); }
public UserServices(PXHotelEntities entities) { _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>(); _userGroupServices = HostContainer.GetInstance<IUserGroupServices>(); _userRepository = new UserRepository(entities); _userInGroupRepository = new UserInGroupRepository(entities); }
public UserGroupsController(IUserGroupServices userGroupServices) { _userGroupServices = userGroupServices; }