public IndexModel(SingleCardService singleCardService, SourceService sourceService, CardRulingService cardRulingService, LessonService lessonService, TypeService typeService) { _singleCardService = singleCardService; _sourceService = sourceService; _cardRulingService = cardRulingService; _lessonService = lessonService; _cardTypeService = typeService; }
public void SetUp() { _cardRulingRepository = Substitute.For <ICardRulingRepository>(); _sut = new CardRulingService(_cardRulingRepository); }