예제 #1
0
        public bool AddObject(PromotionService item, LV.Core.DAL.Base.IRepository repository)
        {
            repository.Add(item);

            return(true);
        }
예제 #2
0
        public bool DeleteObject(PromotionService item, LV.Core.DAL.Base.IRepository repository)
        {
            repository.Update(item);

            return(true);
        }
예제 #3
0
 protected override KeyValuePair <string, long> GetKeyForItem(PromotionService item)
 {
     return(item.Key);
 }