static void Main(string[] args) { var faker = new Faker(); DTO1 obj = faker.Create <DTO1>(); ISerialize serializer = new TJsonSerializer(); byte[] arr; Console.Out.Write(Encoding.UTF8.GetChars(serializer.Serialize(obj).ToArray())); Console.ReadKey(); }
public ActionResult aDDe156(DTO1 Ic) { return(new JsonResult { Data = true, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }