public IEnumerable<KeepsByVaultId> GetByVaultId(int vaultId) { if (ModelState.IsValid) { return _repo.GetByVaultId (vaultId); } return null; }
public IEnumerable <Keep> GetKeepsByVaultId(string id) { var user = HttpContext.User; var sessionId = user.Identity.Name; return(_keepsRepo.GetByVaultId(id)); }
public IEnumerable <Keep> GetKeepsByVault(int id) { Console.WriteLine("GetByVault called!"); return(keepDb.GetByVaultId(id)); }
public IEnumerable<Keep> GetByVaultId(int id) { return _db.GetByVaultId(id); }