public IActionResult SaveAndEndEncounter([FromBody] EncounterData encounter) { if (!ModelState.IsValid || encounter == null) { return(BadRequest()); } _encounterService.EndEncounter(encounter, true); return(Ok()); }
public IActionResult SaveAndEndEncounter([FromBody] EncounterData encounter) { if (!ModelState.IsValid || encounter == null) { return(BadRequest()); } _encounterService.EndEncounter(encounter, true); return(Ok()); }