public Service(string nombre, decimal precio, int dias, int refturn, string descripcion) { this.gestor = new GestorServices(); this.idservice = gestor.getLastId() + 1; this.nombre = nombre; this.precio = precio; this.dias = dias; this.refturn = refturn; this.descripcion = descripcion; }
public Service() { this.gestor = new GestorServices(); }