public IActionResult DeleteLaproscopyFs(long id) { LaproscopyFS LaproscopyFses = LaproscopyFs_repo.Find(id); if (LaproscopyFses == null) { return(NotFound()); } LaproscopyFs_repo.Delete(LaproscopyFses); return(Ok()); }
public IActionResult UpdateLaproscopyFs([FromBody] LaproscopyFS model) { LaproscopyFs_repo.Update(model); return(new OkObjectResult(new { LaproscopyFsID = model.LaproscopyFSId })); }