public EditViewModel(ProjectFirmaModels.Models.Solicitation solicitation) { SolicitationID = solicitation.SolicitationID; SolicitationName = solicitation.SolicitationName; AttachmentInstructions = solicitation.AttachmentInstructionsHtmlString; IsActive = solicitation.IsActive; }
public void UpdateModel(ProjectFirmaModels.Models.Solicitation solicitation, FirmaSession currentFirmaSession) { solicitation.SolicitationName = SolicitationName; solicitation.AttachmentInstructionsHtmlString = AttachmentInstructions; solicitation.IsActive = IsActive; }