コード例 #1
0
        private B2BSERAWebService.Model.UpdateDocumentViewModel UpdateDocumentResponseFailed()
        {
            B2BSERAWebService.Model.UpdateDocumentViewModel UpdateDocumentResult = new B2BSERAWebService.Model.UpdateDocumentViewModel()
            {
                Acknowledge = false,
                TicketNo    = "",
                Message     = "Update Document Failed"
            };

            return(UpdateDocumentResult);
        }
コード例 #2
0
        private B2BSERAWebService.Model.UpdateDocumentViewModel UpdateDocumentResponseError(Exception ex)
        {
            B2BSERAWebService.Model.UpdateDocumentViewModel UpdateDocumentResult = new B2BSERAWebService.Model.UpdateDocumentViewModel()
            {
                Acknowledge = false,
                TicketNo    = "",
                Message     = "Update Document Error On : " + ex.Message
            };

            return(UpdateDocumentResult);
        }
コード例 #3
0
        private UpdateDocumentViewModel UpdateDocumentResponseNull()
        {
            B2BSERAWebService.Model.UpdateDocumentViewModel UpdateDocumentResult = new B2BSERAWebService.Model.UpdateDocumentViewModel()
            {
                Acknowledge = true,
                TicketNo    = "EDE283E6BE1A866452AC76F106CC5CB80BA1902F0BBA8C019F27D3E5025C931139B8E385AD37F6E1CDA0FB029A1198E17DD968A5C711A1FFFB72F33405F34B8EA545F4CE02F7B8B83369C36AC83BF0FAE422B15B919D294047AEC92AF8DC67A0",
                Message     = "No Data Updated"
            };

            return(UpdateDocumentResult);
        }