public ActionResult Create(GreetingOccurence greetingoccurence)
        {
            if (ModelState.IsValid)
            {
                db.GreetingOccurences.Add(greetingoccurence);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            ViewBag.UserId = new SelectList(db.Users, "Id", "Username", greetingoccurence.UserId);
            return View(greetingoccurence);
        }
 public ActionResult Edit(GreetingOccurence greetingoccurence)
 {
     if (ModelState.IsValid)
     {
         db.Entry(greetingoccurence).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.UserId = new SelectList(db.Users, "Id", "Username", greetingoccurence.UserId);
     return View(greetingoccurence);
 }