public SocietyService() { _societyRepository = new SocietyRepository(); _applicationRoleRepository = new ApplicationRoleRepository(); _userService = new UserService(); _userRepository = new UserRepository(); }
public SocietyService(ISocietyRepository societyRepository, ICustomSocietyRepository customSocietyRepository) { _societyRepository = societyRepository ?? throw new ArgumentNullException(nameof(societyRepository)); _customSocietyRepository = customSocietyRepository ?? throw new ArgumentNullException(nameof(customSocietyRepository)); }
public FacilityRepository() { societyRepository = new SocietyRepository(); flatParkingRepository = new FlatParkingRepository(); }
public SocietyApi(ISocietyRepository repository) { _repository = repository; }
public SocietyRepositoryTestClass(ISocietyRepository societyRepository) { _SocietyRepository = societyRepository; }
public SocietyController(ISocietyRepository societyRepository) { _societyRepository = societyRepository; }
public UsersController(ISocietyRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }