Beispiel #1
0
 /// <summary>
 /// Bizs the insert recreational area.
 /// </summary>
 /// <param name="bizRecreationalArea">The biz recreational area.</param>
 /// <returns>System.String.</returns>
 public string BizInsertRecreationalArea(BizRecreationalArea bizRecreationalArea)
 {
     return(BizCall(
                new Action(() =>
     {
         crudFuntion.InsertRecreationalArea(bizRecreationalArea);
     }
                           )
                ));
 }
Beispiel #2
0
        /// <summary>
        /// Datas the recreational area to biz recreational area.
        /// </summary>
        /// <param name="DataRecreationalArea">The data recreational area.</param>
        /// <returns>BizRecreationalArea.</returns>
        public static BizRecreationalArea DataRecreationalAreaToBizRecreationalArea(this SYSGetCatRecreationalArea_Result DataRecreationalArea)
        {
            BizRecreationalArea bizRecreationalArea = new BizRecreationalArea
            {
                Id       = DataRecreationalArea.Id,
                AreaName = DataRecreationalArea.AreaName,
                Active   = DataRecreationalArea.Active,
            };

            return(bizRecreationalArea);
        }
Beispiel #3
0
        /// <summary>
        /// Bizs the recreational area to web recreational area.
        /// </summary>
        /// <param name="DataRecreationalArea">The data recreational area.</param>
        /// <returns>WebRecreationalArea.</returns>
        public static WebRecreationalArea BizRecreationalAreaToWebRecreationalArea(this BizRecreationalArea DataRecreationalArea)
        {
            WebRecreationalArea webRecreationalArea = new WebRecreationalArea
            {
                Id       = DataRecreationalArea.Id,
                AreaName = DataRecreationalArea.AreaName,
                Active   = DataRecreationalArea.Active,
            };

            return(webRecreationalArea);
        }
Beispiel #4
0
        /// <summary>
        /// Webs the recreational area to biz recreational area.
        /// </summary>
        /// <param name="DataRecreationalArea">The data recreational area.</param>
        /// <returns>BizRecreationalArea.</returns>
        public static BizRecreationalArea WebRecreationalAreaToBizRecreationalArea(this WebRecreationalArea DataRecreationalArea)
        {
            BizRecreationalArea bizRecreationalArea = new BizRecreationalArea
            {
                Id       = DataRecreationalArea.Id,
                AreaName = DataRecreationalArea.AreaName,
                Active   = DataRecreationalArea.Active,
            };

            return(bizRecreationalArea);
        }