public AuthenticationManager(DatabaseEF d) { db = d; if (db.Get <Person>(1) == null) { db.Save <Person>(new Person() { Birth = new DateTime(1990, 3, 28), BirthPlace = "Scafati", FiscalCode = "LFNGPP90C28I483C", Enabled = true, Name = "Giuseppe", Surname = "Elefante" }); } }
public ItemsManager(DatabaseEF d) { db = d; }
public PersonsManager(DatabaseEF d) { db = d; }
public WarehouseManager(DatabaseEF d) { db = d; random = new Random(); }
public PaymentsManager(DatabaseEF d) { db = d; }
public NewsboardManager(DatabaseEF d) { db = d; }