public SocietyService()
 {
     _societyRepository         = new SocietyRepository();
     _applicationRoleRepository = new ApplicationRoleRepository();
     _userService    = new UserService();
     _userRepository = new UserRepository();
 }
Example #2
0
        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();
 }
Example #4
0
 public SocietyApi(ISocietyRepository repository)
 {
     _repository = repository;
 }
 public SocietyRepositoryTestClass(ISocietyRepository societyRepository)
 {
     _SocietyRepository = societyRepository;
 }
Example #6
0
 public SocietyController(ISocietyRepository societyRepository)
 {
     _societyRepository = societyRepository;
 }
Example #7
0
 public UsersController(ISocietyRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }