public UpdateSupervisionPlanModalityResponse UpdateSupervisionPlanModality(SPSaveViewModel dataSave, string role)
        {
            var response = new UpdateSupervisionPlanModalityResponse();

            try
            {
                var operationId = _spAdministrationService.GetOperationIdByOperationNumber(dataSave.OperationNumber);
                response = _spAdministrationService.UpdateSupervisionPlanModality(new TableSupervisionPlanModalityViewModel
                {
                    OperationId = operationId,
                    Role        = role,
                    ModalityId  = Convert.ToInt32(dataSave.Value)
                });
            }
            catch (Exception)
            {
                response.IsValid = false;
                throw;
            }

            return(response);
        }