Example #1
0
        /// <summary>
        /// Datas the internal box to biz internal box.
        /// </summary>
        /// <param name="DataInternalBox">The data internal box.</param>
        /// <returns>BizInternalBox.</returns>
        public static BizInternalBox DataInternalBoxToBizInternalBox(this SYSGetInternalBox_Result DataInternalBox)
        {
            BizInternalBox bizInternalBox = new BizInternalBox
            {
                Amount       = DataInternalBox.Amount,
                CreationDate = DataInternalBox.CreationDate,
            };

            return(bizInternalBox);
        }
Example #2
0
        /// <summary>
        /// Webs the internal box to biz internal box.
        /// </summary>
        /// <param name="DataInternalBox">The data internal box.</param>
        /// <returns>BizInternalBox.</returns>
        public static BizInternalBox WebInternalBoxToBizInternalBox(this WebInternalBox DataInternalBox)
        {
            BizInternalBox bizInternalBox = new BizInternalBox
            {
                Amount       = DataInternalBox.Amount,
                CreationDate = DataInternalBox.CreationDate,
            };

            return(bizInternalBox);
        }
Example #3
0
        /// <summary>
        /// Bizs the internal box to web internal box.
        /// </summary>
        /// <param name="DataInternalBox">The data internal box.</param>
        /// <returns>WebInternalBox.</returns>
        public static WebInternalBox BizInternalBoxToWebInternalBox(this BizInternalBox DataInternalBox)
        {
            WebInternalBox webInternalBox = new WebInternalBox
            {
                Amount       = DataInternalBox.Amount,
                CreationDate = DataInternalBox.CreationDate,
            };

            return(webInternalBox);
        }
Example #4
0
 /// <summary>
 /// Bizs the insert internal box.
 /// </summary>
 /// <param name="bizInternalBox">The biz internal box.</param>
 /// <returns>System.String.</returns>
 public string BizInsertInternalBox(BizInternalBox bizInternalBox)
 {
     return(BizCall(
                new Action(() =>
     {
         crudFuntion.InsertInternalBox(bizInternalBox);
     }
                           )
                ));
 }