public void Post(Sokoban.DataModels.Exception exception) { exception.CreateDate = DateTime.UtcNow; ExceptionsRepository exceptionsRepository = new ExceptionsRepository(); exceptionsRepository.InsertException(exception); }
public ExceptionController(ExceptionsRepository exceptionsRepository) { _exceptionsRepository = exceptionsRepository; }
public ExceptionHandlerMiddleware(RequestDelegate next, ExceptionsRepository exceptionsRepository) { _next = next; _exceptionsRepository = exceptionsRepository; }