public Vault Put(int id, [FromBody] Vault vault) { if (ModelState.IsValid) { return(_db.GetOneByIdAndUpdate(id, vault)); } return(null); }
public Vault Put(int id, [FromBody] Vault vault) { if (ModelState.IsValid) { return(_db.GetOneByIdAndUpdate(id, vault)); } return(null); }