Example #1
0
 public string DeleteData(int id)
 {
     Clases.SQLPROCESS obj = new Clases.SQLPROCESS();
     return(obj.DeleteClientes(id));
 }
Example #2
0
 public string SaveData(string Nombre, string Apellido, string Correo)
 {
     Clases.SQLPROCESS obj = new Clases.SQLPROCESS();
     return(obj.SaveClientes(Nombre, Apellido, Correo));
 }
Example #3
0
 public string UpdateData(int id, string Nombre, string Apellido, string Correo)
 {
     Clases.SQLPROCESS obj = new Clases.SQLPROCESS();
     return(obj.UpdateClientes(id, Nombre, Apellido, Correo));
 }
Example #4
0
 public string GetList()
 {
     Clases.SQLPROCESS obj = new Clases.SQLPROCESS();
     return(JsonConvert.SerializeObject(obj.ListarClientes(), Formatting.Indented));
 }