Created
November 17, 2014 21:12
-
-
Save marcduiker/2cc9c3add8ef2c0180dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using SitecorePlayground.Common.Interfaces.Providers; | |
namespace SitecorePlayground.Common.Providers | |
{ | |
public class ItemProvider : IItemProvider | |
{ | |
public Item GetItem(ID itemId) | |
{ | |
return Sitecore.Context.Database.GetItem(itemId); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment