Пример #1
0
 public CoursePathController(ICoursePathRepository repository, IGrainFactory factory, IMapper mapper)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
     _factory    = factory ?? throw new ArgumentNullException(nameof(factory));
     _mapper     = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Пример #2
0
 public CoursePathGrain(ICoursePathRepository repository)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
 }