Exemplo n.º 1
0
        public JsonResult DeleteBid( BidDeleteDetail bidDeleteDetail)
        {
            if (_initializationModel.DeleteBid(bidDeleteDetail))
                return Json("GOOD", JsonRequestBehavior.DenyGet);

            return Json("bad", JsonRequestBehavior.DenyGet);
        }
 public bool DeleteBid(BidDeleteDetail bidDeleteDetail)
 {
     return _bidCollection.Delete(new BidDetail {Id = bidDeleteDetail.Id});
 }