Changeset 5919 for branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Models
- Timestamp:
- 04/01/11 01:47:33 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Models/QueryModel.cs
r5910 r5919 6 6 using System.Web.Security; 7 7 using HLWebOKBQueryPlugin.OKBQueryService; 8 using HLWebOKBQueryPlugin.Helpers; 8 9 9 10 namespace HLWebPluginHost.Models { … … 12 13 public String SelectedSubMenu { get; set; } 13 14 15 public IList<Filter> QueryFilterGetAll() { 16 QueryServiceClient client = Query.GetClientFactory(); 17 18 IList<Filter> filterList = new List<Filter>(); 19 20 if (client != null) { 21 Filter[] filters = client.GetFilters(); 22 foreach (Filter f in filters) { 23 filterList.Add(f); 24 25 } 26 } 27 28 return filterList; 29 } 30 14 31 } 15 32 }
Note: See TracChangeset
for help on using the changeset viewer.