Mvc.Application.Sakurity.Sakurity C# (CSharp) Method

Sakurity() public method

public Sakurity ( ) : DynamicServices
return DynamicServices
        public Sakurity()
        {
            DefaultLevel = 1;

            For<IDynamicRepository<Product>>()
                .Allow()
                .OnAll()
                .Everyone();

            For<ProductQueries>()
                .Allow()
                .OnAll()
                .Everyone();

            For<Product>()
                .Allow("ToString")
                .Everyone();

            For<LocationQueries>()
                .Allow()
                .OnAllQueries()
                .Everyone();
        }
Sakurity