Esempio n. 1
0
 public OnlineAcceptanceModel ToModel(OnlineAcceptance info)
 {
     this.Id       = info.Id;
     this.Title    = info.Title;
     this.WorkType = info.WorkType;
     this.JumpUrl  = info.JumpUrl;
     return(this);
 }
Esempio n. 2
0
 public OnlineAcceptance FormData(OnlineAcceptance info)
 {
     info.Id       = this.Id;
     info.Title    = this.Title;
     info.WorkType = this.WorkType;
     info.JumpUrl  = this.JumpUrl;
     return(info);
 }
Esempio n. 3
0
        public virtual void UpdateGoogleProductRecord(OnlineAcceptance OnlineAcceptance)
        {
            if (OnlineAcceptance == null)
            {
                throw new ArgumentNullException("OnlineAcceptance");
            }

            repository.Update(OnlineAcceptance);
        }
Esempio n. 4
0
        public OnlineAcceptance ToInfo()
        {
            OnlineAcceptance info = new OnlineAcceptance();

            info.Id       = this.Id;
            info.Title    = this.Title;
            info.WorkType = this.WorkType;
            info.JumpUrl  = this.JumpUrl;
            return(info);
        }