Base solution for your next web application
Open Closed

EditionManager #2845


User avatar
0
asrar created

Hi,

I am trying to implement the EditionManager.

public class EditionManager : AbpEditionManager
    {
        public const string DefaultEditionName = "Standard";

        public EditionManager(
            IRepository<WWEdition> editionRepository, 
            IAbpZeroFeatureValueStore featureValueStore)
            : base(
                editionRepository,
                featureValueStore
            )
        {
        }
    }

WWEdition is the Edition class, that extends Edition from Abp:

public class WWEdition : Edition
    {
        public WWEdition()
        {

        }

        public WWEdition(string displayName)
            : base(displayName)
        {
        }
    }

The error am getting is in EditionManager on WWEdition on editionRepository in base

cannot convert from 'Abp.Domain.Repositories.IRepository<Platform.Editions.WWEdition>' to 'Abp.Domain.Repositories.IRepository<Abp.Application.Editions.Edition>'

Is there something am missing please?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Sorry for the late reply. Have you solved this problem ?

    Thanks.