Beispiel #1
0
        public static ServiceReferenceCheckList.LANEINFO CreateEntity(LaneInfoVM vm)
        {
            var item = new ServiceReferenceCheckList.LANEINFO();

            Helper.CopyProperties(vm, item);
            return(item);
        }
Beispiel #2
0
        public int UpdateLaneInfo(LaneInfoVM _vm)
        {
            var proxy  = new ServiceReferenceCheckList.CheckListClient();
            var entity = new ServiceReferenceCheckList.LANEINFO();

            Common.Helper.CopyProperties(_vm, entity);
            var result = proxy.UpdateLaneInfo(entity);

            proxy.Close();
            return(result);
        }