public ActionResult RegistrarAdmin(Administrador cc)
 {
     conectorDataContext db = new conectorDataContext();
     int b = db.Usuario.OrderByDescending(a => a.Id).First().Id;
     cc.IdUsuario = b;
     cc.FechaRegistro = DateTime.Now;
     db.Administrador.InsertOnSubmit(cc);
     db.SubmitChanges();
     return View();
 }
		private void detach_Administrador(Administrador entity)
		{
			this.SendPropertyChanging();
			entity.Usuario = null;
		}
 partial void DeleteAdministrador(Administrador instance);
 partial void UpdateAdministrador(Administrador instance);
 partial void InsertAdministrador(Administrador instance);