Exemple #1
0
        public async Task <IActionResult> Delete(int id)
        {
            if (id.Equals(null))
            {
                return(NotFound());
            }

            await MakeService.DeleteVehicleMakerAsync(id);

            return(RedirectToAction(nameof(Index)));
        }