public void AddThawedEmbryo(EmbryoFreezeThawed embryo)
 {
     try
     {
         Db.EmbryoFreezeThaweds.Add(embryo);
         Db.SaveChanges();
     }
     catch (Exception e)
     {
         throw;
     }
 }
Beispiel #2
0
        public IActionResult AddThawedEmbryo([FromBody] EmbryoFreezeThawed embryo)
        {
            _repo.AddThawedEmbryo(embryo);

            return(new OkObjectResult(new { EmbryoFreezeThawedId = embryo.EmbryoFreezeThawedId }));
        }