public ScoreEntity CreateScore(int?campaignId, int dealershipId, int dealerId, ScoreEntity score)
        {
            if (campaignId == 0)
            {
                campaignApl.Check((int)campaignId);
            }

            dealerApl.Check(dealerId);

            dealershipApl.Check(dealershipId);

            return(scoreDb.CreateScore(campaignId, dealershipId, score));
        }
        public List <DealershipEntity> GetByDealer(int dealerId)
        {
            dealerApl.Check(dealerId);

            return(this.dealershipDb.ReadByDealer(dealerId));
        }