Skip to content

Instantly share code, notes, and snippets.

@dagda1
Created March 8, 2011 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dagda1/860103 to your computer and use it in GitHub Desktop.
Save dagda1/860103 to your computer and use it in GitHub Desktop.
protected ViewResult SaveItemWithParent<T, U>(string structureName, Guid? uid, Guid? parentUid, string parentStructureType,
Func<Guid, T> loadItem, Action<T, Guid> setParent, Func<ViewResult> all, string structureType)
where T : StructureBase, IParent<U>, new()
where U : StructureBase, new()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment