public ActionResult <Keep> GetByVaultId(int vaultId) { Keep found = _kr.GetByVaultId(vaultId); if (found == null) { return(BadRequest("No")); } return(Ok(found)); }
public IEnumerable <Keep> GetByVaultId(int id) { return(_db.GetByVaultId(id)); }
public IEnumerable <Keep> GetByVaultId(string vaultId) { return(_repo.GetByVaultId(vaultId)); }
public IEnumerable <Keep> GetKeepsByVault(int id) { Console.WriteLine("GetByVault called!"); return(keepDb.GetByVaultId(id)); }