Exemple #1
0
 public async Task <int> CleanDependencyAsync(string dependencyName, string dependencyPKName, int albumId, IEnumerable <int> dependenciesPKs)
 {
     using (Db.Context)
     {
         return(await AlbumManager.CleanDependencyAsync
                (
                    new EntityManagerDeleteDependency { Name = dependencyName, key = "AlbumId", keyList = dependencyPKName },
                    albumId,
                    dependenciesPKs
                ));
     }
 }