Exemple #1
0
        public IActionResult DeleteLaproscopyFs(long id)
        {
            LaproscopyFS LaproscopyFses = LaproscopyFs_repo.Find(id);

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

            LaproscopyFs_repo.Delete(LaproscopyFses);
            return(Ok());
        }
Exemple #2
0
 public IActionResult UpdateLaproscopyFs([FromBody] LaproscopyFS model)
 {
     LaproscopyFs_repo.Update(model);
     return(new OkObjectResult(new { LaproscopyFsID = model.LaproscopyFSId }));
 }