public IActionResult UpdateDependencyEquipment(DependencyEquipment dependencyEquipment)
 {
     _dal.UpdateDependencyEquipment(dependencyEquipment);
     return(RedirectToAction(nameof(List)));
 }
        public IActionResult UpdateDependencyEquipment(int id)
        {
            DependencyEquipment dependencyEquipment = _dal.GetDependencyEquipment(id);

            return(View(dependencyEquipment));
        }