public IActionResult GetEncounters()
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            return(Ok(_encounterService.GetEncounters()));
        }
Пример #2
0
 public IActionResult Get()
 {
     return(Json(_encounterService.GetEncounters()));
 }
Пример #3
0
 protected void GetEncounterInfo(IEncounterService service)
 {
     Encounters = service.GetEncounters();
 }