public virtual void UpdateGoogleProductRecord(WorkGuide WorkGuide) { if (WorkGuide == null) { throw new ArgumentNullException("WorkGuide"); } repository.Update(WorkGuide); }
public virtual void DeleteGoogleProduct(WorkGuide WorkGuide) { if (WorkGuide == null) { throw new ArgumentNullException("WorkGuide"); } repository.Delete(WorkGuide); }
public WorkGuide FormData(WorkGuide info) { info.Id = this.Id; info.Title = this.Title; info.WorkType = this.WorkType; info.ScopeOfApplication = this.ScopeOfApplication; info.CommitmentTimeLimit = this.CommitmentTimeLimit; info.LegalTimeLimit = this.LegalTimeLimit; info.HandlePlaceTime = this.HandlePlaceTime; info.ApplicationConditions = this.ApplicationConditions; info.ApplicationMaterials = this.ApplicationMaterials; info.SetBasis = this.SetBasis; info.ManagementProcess = this.ManagementProcess; info.Other = this.Other; return(info); }
public WorkGuideModel ToModel(WorkGuide info) { this.Id = info.Id; this.Title = info.Title; this.WorkType = info.WorkType; this.ScopeOfApplication = info.ScopeOfApplication; this.CommitmentTimeLimit = info.CommitmentTimeLimit; this.LegalTimeLimit = info.LegalTimeLimit; this.HandlePlaceTime = info.HandlePlaceTime; this.ApplicationConditions = info.ApplicationConditions; this.ApplicationMaterials = info.ApplicationMaterials; this.SetBasis = info.SetBasis; this.ManagementProcess = info.ManagementProcess; this.Other = info.Other; return(this); }