public RemoveTarifCommand(IDatabasePostgre db) { if (db == null) { throw new ArgumentNullException("db parameter in RemoveTarifCommand Command cannot be null"); } this.db = db; }
public CreateTarifCommand(IDatabasePostgre db, IModelsFactory factory) { if (db == null) { throw new ArgumentNullException("CreateTarifCommand db parameter cannot be null"); } this.db = db; if (factory == null) { throw new ArgumentNullException("CreateTarifCommand factory parameter cannot be null"); } this.factory = factory; }
public UpdateTarifCommand(IDatabasePostgre db, IModelsFactory factory) { this.db = db; this.factory = factory; }
public EndLoanCommand(IDatabasePostgre db, IModelsFactory factory) { this.db = db; this.factory = factory; }
public CreateLoanCommand(IDatabase db, IDatabasePostgre dbP, IModelsFactory factory) { this.db = db; this.dbP = dbP; this.factory = factory; }
public TarifDetailsCommand(IDatabasePostgre db) { this.db = db; }
public ListAllLoansCommand(IDatabasePostgre db) { this.db = db; }
public ListAllTarifsCommand(IDatabasePostgre db) { this.db = db; }
public ListAllTarifsToPdfCommand(IDatabasePostgre db, CreatePDF pdf) { this.db = db; this.pdf = pdf; }