public async Task <ActionResult <string> > DeleteAllByVaultId(int id) { try { Profile userInfo = await HttpContext.GetUserInfoAsync <Profile>(); return(Ok(_vks.DeleteAllByVaultId(id))); } catch (System.Exception e) { return(BadRequest(e.Message)); } }