コード例 #1
0
 public EditViewModel(ProjectFirmaModels.Models.Solicitation solicitation)
 {
     SolicitationID         = solicitation.SolicitationID;
     SolicitationName       = solicitation.SolicitationName;
     AttachmentInstructions = solicitation.AttachmentInstructionsHtmlString;
     IsActive = solicitation.IsActive;
 }
コード例 #2
0
 public void UpdateModel(ProjectFirmaModels.Models.Solicitation solicitation, FirmaSession currentFirmaSession)
 {
     solicitation.SolicitationName = SolicitationName;
     solicitation.AttachmentInstructionsHtmlString = AttachmentInstructions;
     solicitation.IsActive = IsActive;
 }