public static InvoiceProjectContext GetInstance() { if (db == null) { db = new InvoiceProjectContext(); } return(db); }