Esempio n. 1
0
        public IActionResult DeleteUltraSoundPelvis(long id)
        {
            UltraSoundPelvis ultraSoundPelvis = _repo.Find(id);

            if (ultraSoundPelvis == null)
            {
                return(NotFound());
            }

            _repo.Delete(ultraSoundPelvis);
            return(Ok());
        }
Esempio n. 2
0
 public IActionResult AddUltraSoundPelvis([FromBody] UltraSoundPelvis model)
 {
     _repo.Add(model);
     return(new OkObjectResult(new { UltraSoundPelvisID = model.UltraSoundPelvisId }));
 }