public void SetUp() { _itemTemplateSectionService = Substitute.For <IItemTemplateSectionService>(); _mapper = Substitute.For <IMapper>(); _itemTemplateSectionsController = new ItemTemplateSectionsController(_itemTemplateSectionService, _mapper); _executionContext = new NaheulbookExecutionContext(); }
public ItemTemplateSectionsController(IItemTemplateSectionService itemTemplateSectionService, IMapper mapper) { _itemTemplateSectionService = itemTemplateSectionService; _mapper = mapper; }