/// <summary>
        /// Logic to handle the mapping
        /// </summary>
        /// <param name="newDriverHostMappingViewModel"></param>
        /// <returns></returns>
        public async Task <bool> MapDriverToHost(NewDriverHostMappingViewModel newDriverHostMappingViewModel)
        {
            var host = await _hostLogic.Get(newDriverHostMappingViewModel.HostId);

            // Save changes to driver
            return(_driverLogic.Update(newDriverHostMappingViewModel.DriverId, x =>
            {
                // Add map
                x.Host = host;
                x.HostRefId = host.Id;
            }) != null);
        }
        public async Task <IActionResult> EditView(int id)
        {
            var driver = await _hostLogic.Get(id);

            return(View("Edit", driver));
        }