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

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

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