/Handlers/VoteWidgetPartHandler.cs
# · C# · 11 lines · 10 code · 1 blank · 0 comment · 0 complexity · 750858d5cbb9e47b7b566bcd04b791f6 MD5 · raw file
- using Contrib.Voting.Models;
- using Orchard.ContentManagement.Handlers;
- using Orchard.Data;
-
- namespace Contrib.Voting.Handlers {
- public class VoteWidgetPartHandler : ContentHandler {
- public VoteWidgetPartHandler(IRepository<VoteWidgetPartRecord> repository) {
- Filters.Add(StorageFilter.For(repository));
- }
- }
- }