public async Task <IActionResult> Insert([FromBody] WebAppLogEntry log) { var insertLogEntryCmd = new InsertWebAppLogEntryCmd(log); await mediator.Send(insertLogEntryCmd); return(Ok()); }
public InsertWebAppLogEntryCmd(WebAppLogEntry logEntry) { LogEntry = logEntry; }