public void Delete(Models.RulesetBindingModel model) { try { _ruleService.DismissDoctorFromRule(model.IdRule, model.IdDoctor); } catch (Exception e) { string message = e.Message; } }