Esempio n. 1
0
        public Service ConvertServicesToDTO(BllServices bllServices)
        {
            Service dTODalService = new Service()
            {
                Name  = bllServices.Name,
                Price = bllServices.Price,
                Id    = bllServices.Id,
            };

            return(dTODalService);
        }
Esempio n. 2
0
        public BllServices ConvertServicesToBll(Service dTODalService)
        {
            BllServices bllServices = new BllServices()
            {
                Name  = dTODalService.Name,
                Price = dTODalService.Price,
                Id    = dTODalService.Id,
            };

            return(bllServices);
        }