public bool CheckItem(Entities.BDSNewsTypePrice item)
        {
            var data = Retrieve <BDSNewsTypePrice>(
                T =>
                T.Active == 1 && T.Name == item.Name);

            return
                (data.ToList().Count > 0
                    ? true
                    : false);
        }
 public bool UpdateItem(Entities.BDSNewsTypePrice item)
 {
     item.ModifiedDate = DateTime.Now;
     return(Update(item));
 }
 public Entities.BDSNewsTypePrice CreateItem(Entities.BDSNewsTypePrice item)
 {
     item.Active     = 1;
     item.CreateDate = DateTime.Now;
     return(Create(item, false));
 }