Exemplo n.º 1
0
        public virtual void UpdateGoogleProductRecord(WorkGuide WorkGuide)
        {
            if (WorkGuide == null)
            {
                throw new ArgumentNullException("WorkGuide");
            }

            repository.Update(WorkGuide);
        }
Exemplo n.º 2
0
        public virtual void DeleteGoogleProduct(WorkGuide WorkGuide)
        {
            if (WorkGuide == null)
            {
                throw new ArgumentNullException("WorkGuide");
            }

            repository.Delete(WorkGuide);
        }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 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);
 }