public IActionResult GetDetail(int id)
        {
            Customer _customer = _customerRepository.GetSingle(id);

            if (_customer == null)
            {
                return(NotFound());
            }
            IEnumerable <CallViewModel> _callsViewModel = _mapper.Map <IEnumerable <CallViewModel> >(_callRepository.FindBy(c => c.CustomerId == id));

            //IEnumerable<Call> _calls = _callRepository.GetAll();
            //IEnumerable<CallViewModel> _callsviewModel = _mapper.Map<IEnumerable<CallViewModel>>(_calls);
            return(new OkObjectResult(_callsViewModel));
        }