Beispiel #1
0
 public ActionResult <string> DeleteVaultKeep(int id, [FromBody] VaultKeeps value)
 {
     try
     {
         var uid = HttpContext.User.FindFirstValue("Id");
         value.UserId = uid;
         value.Id     = id;
         return(Ok(_repo.DeleteVaultKeep(value)));
     }
     catch (Exception e)
     {
         return(BadRequest(e));
     }
 }