public virtual void UpdateGoogleProductRecord(ActivityStyle ActivityStyle) { if (ActivityStyle == null) { throw new ArgumentNullException("ActivityStyle"); } repository.Update(ActivityStyle); }
public ActivityStyle FormData(ActivityStyle info) { info.Title = this.Title; info.DeliveryTime = this.DeliveryTime; info.Address = this.Address; info.Imgurl = this.Imgurl; info.Content = this.Content; info.IsTop = this.IsTop; return(info); }
public ActivityStyleModel ToModel(ActivityStyle info) { this.Id = info.Id; this.Title = info.Title; this.Address = info.Address; this.Imgurl = info.Imgurl; this.IsTop = info.IsTop; this.Content = info.Content; this.DeliveryTime = info.DeliveryTime; return(this); }
public ActivityStyle ToInfo() { ActivityStyle info = new ActivityStyle(); info.Title = this.Title; info.DeliveryTime = this.DeliveryTime; info.Address = this.Address; info.Imgurl = this.Imgurl; info.Content = this.Content; info.IsTop = this.IsTop; return(info); }