﻿using System.Collections.Generic;
using Abp.Configuration;

namespace ModuleZeroSampleProject.Configuration
{
    public class MySettingProvider : SettingProvider
    {
        public const string QuestionsDefaultPageSize = "QuestionsDefaultPageSize";
        public const string AllowMultipleVote = "AllowMultipleVote";

        public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context)
        {
            return new[]
                   {
                       new SettingDefinition(QuestionsDefaultPageSize, "10"),
                       new SettingDefinition(AllowMultipleVote, "true")
                   };
        }
    }
}
