Méthodes fréquemment utilisées
Méthodes fréquemment utilisées
Méthodes fréquemment utilisées
Méthodes fréquemment utilisées
public JsonResult GetDoctor(string specialityid) { //if (String.IsNullOrEmpty(specialityid)) return null; var getdoctorModel = new List <GenericListModel>(); getdoctorModel = !string.IsNullOrEmpty(specialityid) ? _clPatientStatisticsDB.GetDoctor(int.Parse(specialityid)) : getdoctorModel; getdoctorModel.Add(new GenericListModel { id = 0, name = "ALL", text = "ALL" }); var json = getdoctorModel.DefaultIfEmpty(); return(Json(json, JsonRequestBehavior.AllowGet)); }