-
-
Save islaytitans/ac060bc34864c78fd9d6 to your computer and use it in GitHub Desktop.
Sitecore Hackathon SitecoreItemController
This file contains 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
namespace DevToolKit.Controllers | |
{ | |
[ValidateAntiForgeryToken] | |
[ServicesController] | |
public class SitecoreItemController : EntityService<ItemModel> | |
{ | |
public SitecoreItemController(IRepository<ItemModel> repository) | |
: base(repository) | |
{ | |
} | |
public SitecoreItemController() | |
: this(new SitecoreItemRepository()) | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment