/// <summary> /// Instantiates a new ErrorOccurrencesController in a Context. /// </summary> public ErrorOccurrencesController(IMapper mapper, IErrorOccurrenceService service, ErrorCenterContext context) { _service = service; _mapper = mapper; _context = context; }
public ErrorOccurrenceController(IErrorOccurrenceService errorOccurrenceService) { _errorOccurrenceService = errorOccurrenceService; }
/// <summary> /// Instantiates a new ErrorLogController in a Context. /// </summary> public ErrorLogController(IMapper mapper, IErrorOccurrenceService erroOcuService, IUserService service, IErrorOccurrenceService erroOcur) { _Userservice = service; _erroOcuService = erroOcuService; _mapper = mapper; }