Exemple #1
0
        public void CreateClient(ClientViewModel client)
        {
            Mapper.CreateMap <ClientViewModel, ClientDTO>();
            var clientDto = Mapper.Map <ClientViewModel, ClientDTO>(client);

            crmService.AddClient(clientDto);
        }