Beispiel #1
0
        static void Main(string[] args)
        {
            string         dbConnection = ConfigurationManager.ConnectionStrings["CapstoneDatabase"].ConnectionString;
            CampDAL        dbAccess     = new CampDAL(dbConnection);
            DisplayMethods display      = new DisplayMethods();
            CLI            myMenu       = new CLI(dbAccess, display);

            myMenu.Running();
        }
Beispiel #2
0
 public CLI(CampDAL access, DisplayMethods display)
 {
     DB      = access;
     Display = display;
 }