public ActionResult Create(Project project)
        {
            if (ModelState.IsValid)
            {
                //project.CreatorID = WebSecurity.CurrentUserId;//Convert.ToInt32(Membership.GetUser().ProviderUserKey);
                db.Projects.Add(project);
                db.SaveChanges();

                ViewBag.UserList = new SelectList(user_db.UserProfiles.ToList(),"UserId","UserName");

                return RedirectToAction("Index");
            }

            return View(project);
        }
 partial void DeleteProject(Project instance);
 partial void UpdateProject(Project instance);
 partial void InsertProject(Project instance);
		private void detach_Projects(Project entity)
		{
			this.SendPropertyChanging();
			entity.UserProfile = null;
		}