public IActionResult DeleteUltraSoundPelvis(long id) { UltraSoundPelvis ultraSoundPelvis = _repo.Find(id); if (ultraSoundPelvis == null) { return(NotFound()); } _repo.Delete(ultraSoundPelvis); return(Ok()); }
public IActionResult AddUltraSoundPelvis([FromBody] UltraSoundPelvis model) { _repo.Add(model); return(new OkObjectResult(new { UltraSoundPelvisID = model.UltraSoundPelvisId })); }