//
 // GET: /Guestbook/Create
 public PartialViewResult Create(Guid user)
 {
     CreateGBEntryModel entry = new CreateGBEntryModel();
     entry.UserId = user;
     entry.WriterId = (Guid)Membership.GetUser().ProviderUserKey;
     entry.created = DateTime.Now;
     return PartialView(entry);
 }
        public PartialViewResult Create(CreateGBEntryModel entry)
        {
            if (ModelState.IsValid)
            {
                GBEntry e = new GBEntry() { UserId = entry.UserId, content = entry.Content, CreationDate = entry.created, WriterId = entry.WriterId };
                db.GuestbookEntrys.Add(e);
                db.SaveChanges();
                return PartialView("GBSuccess");
            }

            return PartialView(entry);
        }