From 5eea4787f1bdc384451c18d5a693e65a4ed38601 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 7 Apr 2017 10:47:11 -0400 Subject: add search system (downloads and topics) --- Project-Unite/Models/SearchModels.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Project-Unite/Models/SearchModels.cs (limited to 'Project-Unite/Models') diff --git a/Project-Unite/Models/SearchModels.cs b/Project-Unite/Models/SearchModels.cs new file mode 100644 index 0000000..a0c79e9 --- /dev/null +++ b/Project-Unite/Models/SearchModels.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace Project_Unite.Models +{ + public class SimpleSearch + { + public string Query { get; set; } + } + + public class SearchResult + { + public IEnumerable ForumPosts { get; set; } + public IEnumerable ForumTopics { get; set; } + public IEnumerable Users { get; set; } + public IEnumerable Skins { get; set; } + public IEnumerable Downloads { get; set; } + public IEnumerable WikiPages { get; set; } + } +} \ No newline at end of file -- cgit v1.2.3