Exemplo n.º 1
0
        public void Initiat()
        {
            VolunteersDbCotext  volunteersDbCotext = new VolunteersDbCotext();
            VolunteerUnitOfWork unitOfWork         = new VolunteerUnitOfWork(volunteersDbCotext);

            _volunteerService = new VolunteerService(unitOfWork, new TestLogger());

            _commonSettingDataContext = new CommonSettings.DAL.CommonSettingDataContext();
        }
Exemplo n.º 2
0
        public void Initiate()
        {
            var dataContext = new CommonSettings.DAL.CommonSettingDataContext();
            var unitOfWork  = new CommonSettings.DAL.CommonSettingsUnitOfWork(dataContext);
            var log         = NLog.LogManager.CreateNullLogger();

            _placesServices = new CommonSettings.BLL.PlacesService(unitOfWork, log);

            AddCountry();
            AddRegion();
            AddCity();

            //AddDistrict();
        }