public IActionResult GetEncounters() { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } return(Ok(_encounterService.GetEncounters())); }
public IActionResult Get() { return(Json(_encounterService.GetEncounters())); }
protected void GetEncounterInfo(IEncounterService service) { Encounters = service.GetEncounters(); }