public async Task <IActionResult> SaveLog([FromBody] LogDTO log)
        {
            var result = new Result <LogDTO>()
            {
                StatusCode = HttpStatusCode.OK
            };

            try
            {
                result = await _logApp.SaveLog(log);

                if (result.IsFailure)
                {
                    return(BadRequest(result));
                }
            }
            catch (Exception ex)
            {
                result.StatusCode = HttpStatusCode.InternalServerError;
                result.AddError("Error on SaveLog", ex.Message, GetType().FullName);

                return(StatusCode((int)HttpStatusCode.InternalServerError, result));
            }

            return(Ok(result));
        }