Пример #1
0
        public static Services ConvertServicesToDal(ServicesWCF wcfServices)
        {
            Services service = new Services()
            {
                Name  = wcfServices.Name,
                Price = wcfServices.Price,
                Id    = wcfServices.Id,
                //  Material=bllServices.BllMaterials
            };

            return(service);
        }
Пример #2
0
        public static ServicesWCF ConvertServicesToWCF(Services service)
        {
            ServicesWCF wcfServices = new ServicesWCF()
            {
                Name  = service.Name,
                Price = service.Price,
                Id    = service.Id,
                //BllMaterials= dTODalService.Id
            };

            return(wcfServices);
        }