示例#1
0
 public SortingService(ISortingRepository sortingRepository, ISortingLogic sortingLogic, IConversionLogic conversionLogic)
 {
     _sortingRepository = sortingRepository;
     _sortingLogic      = sortingLogic;
     _conversionLogic   = conversionLogic;
 }
        //private readonly int PageSize = 10;

        public ActorController(IActorRepository repository, ISortingLogic sortingLogic)
        {
            _repository   = repository;
            _sortingLogic = sortingLogic;
        }
示例#3
0
        //private readonly int PageSize = 40;

        public MovieController(IMovieRepository repository, ISortingLogic sortingLogic)
        {
            _repository   = repository;
            _sortingLogic = sortingLogic;
        }
示例#4
0
 public SortingLogicTests()
 {
     _sortingLogic = new SortingLogic();
 }