public static FilterInfoList FilterFetchInfoList(string target) { return(FilterService.FilterFetchInfoList( new FilterCriteria { Target = target, CreatedBy = BusinessPrincipal.GetCurrentIdentity().UserId })); }
public static Filter FilterSave(Filter filter) { if (!filter.IsValid) { return(filter); } Filter result; if (filter.IsNew) { result = FilterService.FilterInsert(filter); } else { result = FilterService.FilterUpdate(filter); } return(result); }
public static bool FilterDelete(int filterId) { return(FilterService.FilterDelete( FilterService.FilterFetch(filterId))); }
public static FilterInfoList FilterFetchInfoList() { return(FilterService.FilterFetchInfoList( new FilterCriteria())); }