// GET: Drivers
        public ActionResult Index()
        {
            ICollection <Driver>          driver          = _driverManager.GetAll();
            IEnumerable <DriverViewModel> driverViewModel = Mapper.Map <IEnumerable <DriverViewModel> >(driver);

            return(View(driverViewModel));
        }
        public async Task <IActionResult> GetAll()
        {
            var response = await _driverManager.GetAll();

            return(Ok(response));
        }