Exemplo n.º 1
0
        public async Task InsertError(string Url, string MethodName, string ErrorType, string ErrorDetails)
        {
            ErrorLog errorLog = new ErrorLog();

            errorLog.Url          = Url;
            errorLog.MethodName   = MethodName;
            errorLog.ErrorType    = ErrorType;
            errorLog.ErrorDetails = ErrorDetails;
            errorLog.CreatedDate  = DateTime.Now;
            errorLog.IsDeleted    = 0;
            await _repo.InsertError(errorLog).ConfigureAwait(false);
        }