Beispiel #1
0
        public int Add(CustomerOrderDto customerOrderDto)
        {
            var customerOrderEntity    = Mapper.Map <CustomerOrderDto, CustomerOrder>(customerOrderDto);
            var addCustomerOrderResult = _repo.Add(customerOrderEntity);

            return(addCustomerOrderResult);
        }