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