Example #1
0
        public AnApplicationView(string v)
        {
            this.v = v;
            GetAnApp anAp = new GetAnApp(v);

            anAp.FillInViewModel(this);
        }
        public IActionResult AddNew(string ID)
        {
            NewApp newApp = new NewApp();

            if (ID != null)
            {
                newApp.ID = int.Parse(ID);
                GetAnApp gaa = new GetAnApp(ID);
                gaa.FillInNewApp(newApp);
            }
            return(View("AddNew", newApp));
        }