public async Task <IReadOnlyList <CampaingEntity> > GetAllAsync()
        {
            CampaingEntity entity = new CampaingEntity();

            entity.Id            = 1;
            entity.Slot          = 1;
            entity.DiscountRatio = (decimal) - 0.01;
            entity.CampaignDesc  = "deneme";

            List <CampaingEntity> campaingEntities = new List <CampaingEntity>();

            campaingEntities.Add(entity);

            return(campaingEntities.AsReadOnly());
        }
 public Task UpdateAsync(CampaingEntity entity)
 {
     throw new NotImplementedException();
 }
 public void Update(CampaingEntity campaign)
 {
     Console.WriteLine(campaign.CampaignName + " : Updated");
 }
 public Task <CampaingEntity> AddAsync(CampaingEntity entity)
 {
     throw new NotImplementedException();
 }
 public void Add(CampaingEntity campaign)
 {
     Console.WriteLine(campaign.CampaignName + " : Added");
 }