/// <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); }
/// <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); }
/// <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); }
/// <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); } ) )); }