public override void SetUp()
        {
            base.SetUp();

            _userCategoryService              = ServiceLocator.Current.GetInstance <IUserCategoryService>();
            _userCategoryRepository           = ServiceLocator.Current.GetInstance <IUserCategoryRepository>();
            _categoryRepository               = ServiceLocator.Current.GetInstance <ICategoryRepository>();
            _categoryFavouriteLevelRepository = ServiceLocator.Current.GetInstance <ICategoryFavouriteLevelRepository>();
            _unitOfWork = ServiceLocator.Current.GetInstance <IUnitOfWork>();
        }
Esempio n. 2
0
 public CategoryFavouriteLevelService(ICategoryFavouriteLevelRepository categoryFavouriteLevelRepository)
 {
     _categoryFavouriteLevelRepository = categoryFavouriteLevelRepository;
 }