public OnlineAcceptanceModel ToModel(OnlineAcceptance info) { this.Id = info.Id; this.Title = info.Title; this.WorkType = info.WorkType; this.JumpUrl = info.JumpUrl; return(this); }
public OnlineAcceptance FormData(OnlineAcceptance info) { info.Id = this.Id; info.Title = this.Title; info.WorkType = this.WorkType; info.JumpUrl = this.JumpUrl; return(info); }
public virtual void UpdateGoogleProductRecord(OnlineAcceptance OnlineAcceptance) { if (OnlineAcceptance == null) { throw new ArgumentNullException("OnlineAcceptance"); } repository.Update(OnlineAcceptance); }
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); }