public void AccountTypesRepository_UnitOfWork_Instantiation_Test()
        {
            IUnitOfWork             unitOfWork = new Social.Data.UnitOfWork.Implementation.UnitOfWork();
            IAccountTypesRepository repository = unitOfWork.AccountTypesRepository;

            Assert.IsNotNull(repository);
        }
 /// <summary>
 /// Initializes a new instance of
 /// type AccountTypesService.
 /// </summary>
 /// <param name="AccountTypesRepository"></param>
 /// <param name="unitOfWork"></param>
 public AccountTypesService(
     IAccountTypesRepository AccountTypesRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._AccountTypesRepository = AccountTypesRepository;
     this._languageService        = languageService;
     this._unitOfWork             = unitOfWork;
 }
        public UnitOfWork(IAccountTypesRepository accountTypesRepository,
                          IPersonTypesRepository personTypesRepository,
                          IAccountsRepository accountsRepository,
                          IPersonsRepository personsRepository,
                          ControlPanelEntities db)
        {
            AccountTypesRepository = accountTypesRepository;
            PersonTypesRepository  = personTypesRepository;
            AccountsRepository     = accountsRepository;
            PersonsRepository      = personsRepository;

            _db = db;
        }