Example #1
0
        public int?Delete(int id)
        {
            OfferRepository <Offer>       Offerrepo  = new OfferRepository <Offer>();
            OfferRepository <OfferPhases> OfferrepoP = new OfferRepository <OfferPhases>();
            int rta2 = OfferrepoP.DeletePhases(id);
            int?rta  = Offerrepo.Delete(id);

            if (rta == null)
            {
                return(null);
            }
            else
            {
                return(rta);
            }
        }