/// <summary> /// the method that will access the instance of running expense type repository /// </summary> /// <returns>the running instance of expense type repository</returns> public static ExpenseTypeRepository GetInstance() { if (instance == null) { instance = new ExpenseTypeRepository(); } return instance; }