public IActionResult Create(List l)
 {
     if (ModelState.IsValid)
     {
         userID = Convert.ToInt32(HttpContext.Session.GetInt32("UserID"));
         try
         {
             collectionRepository.SaveList(l, userID);
             return(RedirectToAction("Index"));
         }
         catch (Exception e)
         {
             string message = e.Message;
             return(View("Error", "Database"));
         }
     }
     return(View(l));
 }