//GET after create case, come to this page
        public ActionResult AddBugsToCase(int cid)
        {
            //get case through passed in cid first
            Case c = new Case();

            c = cdb.getCase(cid);

            //Then, get the project of the case
            Project p = new Project();

            p = pdb.getProject(c.projectID);

            //Then populate the view based on the list of bugs related to the project
            c.availableBugs = bdb.getBugRelatedToProjectName(p.projectName);

            //pass to view
            ViewBag.cid         = cid;
            ViewBag.projectName = pdb.getProjectName(c.projectID);
            return(View(c));
        }