public static Filter FilterInsert(Filter filter) { filter = filter.Save(); SourceRepository.SourceAdd(filter.FilterId, SourceType.Filter, filter.Name); return filter; }
public static Filter FilterInsert(Filter filter) { filter = filter.Save(); SourceRepository.SourceAdd(filter.FilterId, SourceType.Filter, filter.Name); return(filter); }
public static Filter FilterUpdate(Filter filter) { if (!filter.IsDirty) { return(filter); } filter = filter.Save(); SourceRepository.SourceUpdate(filter.FilterId, SourceType.Filter, filter.Name); return(filter); }
public static Filter FilterUpdate(Filter filter) { if (!filter.IsDirty) { return filter; } filter = filter.Save(); SourceRepository.SourceUpdate(filter.FilterId, SourceType.Filter, filter.Name); return filter; }
public static Filter FilterUpdate(Filter filter) { return filter.Save(); }
public static Filter FilterInsert(Filter filter) { return filter.Save(); }