public BaseReadOnlyController(ShapesDbContext dataContext, IMapper mapper, ILoggerFactory loggerFactory)
 {
     _dataContext   = dataContext;
     _mapper        = mapper;
     _loggerFactory = loggerFactory;
     _logger        = _loggerFactory.CreateLogger(this.GetType().Name);
 }
Exemple #2
0
 public ShapeController(ShapesDbContext dataContext, IMapper mapper, ILoggerFactory loggerFactory) : base(dataContext, mapper, loggerFactory)
 {
 }