public int Test1_AutoCheck(TestSerializerModel model) { //if( System.Web.HttpContext.Current.Request.ContentType.StartsWith("application/json") ) // model.DtValue = model.DtValue.ToLocalTime(); string xml1 = model.ToString(); string xml2 = s_lastTestSerializerModel.ToString(); return (xml1 == xml2 ? 1 : 0); }
public string Test1(TestSerializerModel model) { return model.ToString(); }