Ejemplo n.º 1
0
        public static void ParseJsonResult()
        {
            //List<USERSbl> listUser = JsonParser.ToObjectList<USERSbl>("Users", "GetAllUsers");
            //USERSbl user = JsonParser.ToObject<USERSbl>("Users", "GetUserByMail", "*****@*****.**");

            USERSbl register = new USERSbl()
            {
                Id = 3,
                FirstName = "Paul",
                LastName = "Dupont",
                Email = "*****@*****.**",
                Password = "******",
                Phone = "0607080910",
                BirthDate = new DateTime(1976, 6, 9),
                IdLocation = 1,
                CreationDate = DateTime.Now
            };

            JsonParser.PostRequest("Users", "RegisterUser", register);
        }
Ejemplo n.º 2
0
 public USERSbl SaveUser(USERSbl user)
 {
 }