Beispiel #1
0
 public WidgetApiController(IUnitOfWork unitOfWork,
                            ITileWidgetRepository tileWidgetRepository,
                            ILogger logger,
                            ISessionService sessionService)
     : base(logger, unitOfWork, sessionService)
 {
     _widgetRepository = tileWidgetRepository;
 }
Beispiel #2
0
 public WidgetApiController(IUnitOfWork unitOfWork)
 {
     _unitOfWork = (IComplete)unitOfWork;
     _repository = unitOfWork.TileWidgets;
 }