public bool DeleteAuctionItem(int id)
        {
            var record = GetAuctionItemById(id);

            if (record == null)
            {
                return(false);
            }
            repo.Delete(record);
            return(true);
        }
Example #2
0
        public bool DeleteParkingSpaceById(int id)
        {
            var record = GetlParkingSpaceById(id);

            if (record == null)
            {
                return(false);
            }
            repo.Delete(record);
            return(true);
        }
        public bool DeletePriceModelById(int id)
        {
            var record = GetlPriceById(id);

            if (record == null)
            {
                return(false);
            }
            repo.Delete(record);
            return(true);
        }