예제 #1
0
        public ActionResult Put(ArgumentClass arguments)
        {
            string request = arguments.SqlRequest;

            try
            {
                db.Database.ExecuteSqlRaw(request);
                _logger.LogPostSqlRequest(request);
                return(Ok());
            }
            catch (Exception ex)
            {
                _logger.LogException(ex);
                return(BadRequest());
            }
        }