public IActionResult Delete(int id)
        {
            try
            {
                var powerSupply = _softwareService.GetSoftware(id);
                if (powerSupply == null)
                {
                    return(NotFound());
                }

                var result = _softwareService.DeleteSoftware(id);
                return(Json(result));
            }
            catch (Exception e)
            {
                return(View());
            }
        }