SourceDelete() public static méthode

public static SourceDelete ( ISource source ) : bool
source ISource
Résultat bool
Exemple #1
0
        public static bool FilterDelete(Filter filter)
        {
            Filter.DeleteFilter(
                new FilterDataCriteria
            {
                FilterId = filter.FilterId
            });

            SourceRepository.SourceDelete(filter.FilterId, SourceType.Filter);

            return(true);
        }
 public static bool SourceDelete(int sourceId, SourceType sourceType)
 {
     return(SourceRepository.SourceDelete(
                SourceRepository.SourceFetch(sourceId, sourceType)));
 }