public DataTablesJsonResult( DataTablesResponse response, string contentType, Encoding contentEncoding, bool allowJsonThroughHttpGet) { _contentEncoding = contentEncoding ?? Encoding.UTF8; _contentType = string.Format(contentType ?? DefaultContentType, _contentEncoding.WebName); _allowGet = allowJsonThroughHttpGet; _data = response; }
public DataTablesJsonResult(DataTablesResponse response, bool allowJsonThroughHttpGet) : this(response, DefaultContentType, DefaultContentEncoding, allowJsonThroughHttpGet) { }