public IHttpActionResult Save([FromBody] ErrorLog request) { if (string.Equals(request.LogType, "info")) { _logger.Informations(request.Message); } else { _logger.ErrorLogstr(request.Message); } return(Ok()); }
public IHttpActionResult Save([FromBody] ErrorLog request) { if (string.Equals(request.LogType, "info")) { _logger.Informations(request.Message); } else { _logger.ErrorLogstr(request.Message); } return(Ok()); }