public ActionResult Delete(int id, IFormCollection collection)
        {
            var item = VehicleImageService.GetById(id);

            try
            {
                var response = VehicleImageService.Delete(id);
                if (response.IsSuccess)
                {
                    return(RedirectToAction(nameof(Index), new { vehicleId = item.VehicleId }));
                }
                else
                {
                    ViewBag.Response = response;
                }
            }
            catch
            {
                ViewBag.Response = Domain.DTOs.Response.Fail("Bir hata oluştu");
            }
            finally
            {
                SetVehicleToViewBag(item.VehicleId);
            }
            return(View(item));
        }
        // GET: VehicleImageController/Delete/5
        public ActionResult Delete(int id)
        {
            var item = VehicleImageService.GetById(id);

            SetVehicleToViewBag(item.VehicleId);
            return(View(item));
        }