コード例 #1
0
ファイル: DocumentActions.cs プロジェクト: althera2004/ISSUS
        public ActionResult ProcedenciaDelete(int procedenciaId, string description, int companyId, int userId)
        {
            var res = DocumentOrigin.Delete(procedenciaId, companyId);

            if (res.Success)
            {
                Session["Company"] = new Company(companyId);
            }

            return(res);
        }
コード例 #2
0
ファイル: DocumentActions.cs プロジェクト: althera2004/ISSUS
        public ActionResult ProcedenciaInsert(int procedenciaId, string description, int companyId, int userId)
        {
            var newProcedencia = new DocumentOrigin
            {
                CompanyId   = companyId,
                Description = description,
                Editable    = true
            };

            var res = newProcedencia.Insert();

            if (res.Success)
            {
                Session["Company"] = new Company(companyId);
            }

            return(res);
        }
コード例 #3
0
 public CreateApplicationDocumentCommand(long applicationNumber, DocumentContextKind documentContextKind, string arrangementRequestId, string collateralId,
                                         string partyId, string documentName, string documentKind, string documentReviewPeriod, bool isMandatory, bool isForSigning, bool isForUpload,
                                         bool isForPhysicalArchiving, bool isInternal, bool isComposedFromTemplate, string templateUrl, DocumentOrigin origin)
 {
     ApplicationNumber    = applicationNumber;
     DocumentContextKind  = documentContextKind;
     ArrangementRequestId = arrangementRequestId;
     CollateralId         = collateralId;
     PartyId                = partyId;
     DocumentName           = documentName;
     DocumentKind           = documentKind;
     DocumentReviewPeriod   = documentReviewPeriod;
     IsMandatory            = isMandatory;
     IsForSigning           = isForSigning;
     IsForUpload            = isForUpload;
     IsForPhysicalArchiving = isForPhysicalArchiving;
     IsInternal             = isInternal;
     IsComposedFromTemplate = isComposedFromTemplate;
     TemplateUrl            = templateUrl;
     Origin = origin;
 }