Exemple #1
0
 public RepoInfo GetRepoByImage(ImageInfo image) =>
 AllRepos
 .FirstOrDefault(repoImage => repoImage.AllImages.Contains(image));
Exemple #2
0
 public RepoInfo GetRepoById(string id)
 {
     return(AllRepos.FirstOrDefault(repo => repo.Id == id));
 }
Exemple #3
0
 public RepoInfo GetRepoByModelName(string name)
 {
     return(AllRepos.FirstOrDefault(repo => repo.Model.Name == name));
 }