public int SetInvitacion() { LinqDBDataContext db = new LinqDBDataContext(); int resp; try { resp = db.SendInvitacion(rutContacto, rutCliente, cantidad); } catch { resp = -1; } return resp; }
public int SetInvitacion() { LinqDBDataContext db = new LinqDBDataContext(); int resp; try { resp = db.SendInvitacion(rutContacto, rutCliente, cantidad); } catch { resp = -1; } return resp; }