// GET: Request/Create
        public ActionResult Create()
        {
            var           UserID        = User.Identity.GetUserId();
            List <string> AllCategories = new List <string>();

            foreach (Categories category in db.Categories)
            {
                AllCategories.Add(category.Title);
            }
            ViewBag.ACategories = AllCategories;
            ViewBag.UserId      = UserID;
            CategoriesList cats = new Models.CategoriesList();

            cats.AllCategories = new SelectList(db.Categories, "Title", "Title");
            return(View());
        }
 // GET: Request/Create
 public ActionResult Create()
 {
     var UserID = User.Identity.GetUserId();
     List<string> AllCategories = new List<string>();
     foreach(Categories category in db.Categories)
     {
         AllCategories.Add(category.Title);
     }
     ViewBag.ACategories = AllCategories;
     ViewBag.UserId = UserID;
     CategoriesList cats = new Models.CategoriesList();
     cats.AllCategories = new SelectList(db.Categories, "Title", "Title");
     return View();
 }