예제 #1
0
 public ItemRepository(IOptions <Settings> settings,
                       IItemTypeRepository itemTypeRepository,
                       IWorkflowNodeRepository workflowNodeRepository,
                       //IFieldRepository fieldRepository,
                       IFieldChangeGroupRepository fieldChangeGroupRepository,
                       IItemLocationRepository itemLocationRepository,
                       IWorkflowTransitionRepository workflowTransitionRepository)
 {
     _context                = new ItemContext(settings);
     _itemTypeRepository     = itemTypeRepository;
     _workflowNodeRepository = workflowNodeRepository;
     //_fieldRepository = fieldRepository;
     _fieldChangeGroupRepository   = fieldChangeGroupRepository;
     _itemLocationRepository       = itemLocationRepository;
     _workflowTransitionRepository = workflowTransitionRepository;
 }
예제 #2
0
 public FieldChangeGroupsController(IFieldChangeGroupRepository fieldChangeGroupRepository)
 {
     _fieldChangeGroupRepository = fieldChangeGroupRepository;
 }