Exemplo n.º 1
0
 public async Task <int> CleanDependencyAsync(string dependencyName, string dependencyPKName, int pictureId, IEnumerable <int> dependenciesPKs)
 {
     using (Db.Context)
     {
         return(await PictureManager.CleanDependencyAsync
                (
                    new EntityManagerDeleteDependency { Name = dependencyName, key = "PictureId", keyList = dependencyPKName },
                    pictureId,
                    dependenciesPKs
                ));
     }
 }