Exemple #1
0
        public Offer GetOffer(int idoffer)
        {
            OfferRepository <Offer> offerrepo = new OfferRepository <Offer>();

            return(offerrepo.GetOffer <Offer, Category>(idoffer));
        }
Exemple #2
0
 public FetchOfferDto Get(int id)
 {
     return(offerRepository.GetOffer(id));
 }