Exemple #1
0
        //From U-A
        public static void PutEntryUnderReview(OfferRegisterEntry Entry, Member User)
        {
            Entry.Status = OfferStatus.UnderReview;
            Entry.Save();

            History.AddCPAOfferDeniedUnder(User.Name, Entry.Offer.Title);
            Entry.Offer.PerformStatusControlCheck();
        }
Exemple #2
0
        //From U-A
        //From AP
        public static void DenyEntry(OfferRegisterEntry Entry, Member User, string offerTitle)
        {
            Entry.Status = OfferStatus.Denied;
            Entry.Save();

            var offer = Entry.Offer;

            //History
            History.AddCPAOfferDeniedUnder(User.Name, offerTitle, offer.IsFromAutomaticNetwork ? offer.AdvertiserUsername : "");
        }