예제 #1
0
        public static WorkPositionWCF ConvertPositionToWcf(BllWorkPosition WorkPosition)
        {
            WorkPositionWCF wcfWorkPosition = new WorkPositionWCF()
            {
                Name = WorkPosition.Name,
                Id   = WorkPosition.Id,
            };

            return(wcfWorkPosition);
        }
예제 #2
0
        public static BllWorkPosition ConvertPositionToBll(WorkPositionWCF wcfWorkPosition)
        {
            BllWorkPosition bllWorkPosition = new BllWorkPosition()
            {
                Name = wcfWorkPosition.Name,
                Id   = wcfWorkPosition.Id
            };


            return(bllWorkPosition);
        }