Example #1
0
        public CustomerOrderDto GetByID(int customerOrderID)
        {
            var customerOrderEntity = _repo.GetByID(customerOrderID);
            var customerOrderModel  = Mapper.Map <CustomerOrder, CustomerOrderDto>(customerOrderEntity);

            return(customerOrderModel);
        }