diff options
| author | Michael <[email protected]> | 2017-04-07 10:47:11 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-07 10:47:11 -0400 |
| commit | 5eea4787f1bdc384451c18d5a693e65a4ed38601 (patch) | |
| tree | 2f4eead1093da297807494c1d489831b8e0e5122 /Project-Unite/Models/SearchModels.cs | |
| parent | 5860170c1fed2342232d7e35015b669e8b8ec471 (diff) | |
| download | project-unite-5eea4787f1bdc384451c18d5a693e65a4ed38601.tar.gz project-unite-5eea4787f1bdc384451c18d5a693e65a4ed38601.tar.bz2 project-unite-5eea4787f1bdc384451c18d5a693e65a4ed38601.zip | |
add search system (downloads and topics)
Diffstat (limited to 'Project-Unite/Models/SearchModels.cs')
| -rw-r--r-- | Project-Unite/Models/SearchModels.cs | 22 |
1 files changed, 22 insertions, 0 deletions
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<ForumPost> ForumPosts { get; set; } + public IEnumerable<ForumTopic> ForumTopics { get; set; } + public IEnumerable<ApplicationUser> Users { get; set; } + public IEnumerable<Skin> Skins { get; set; } + public IEnumerable<Download> Downloads { get; set; } + public IEnumerable<WikiPage> WikiPages { get; set; } + } +}
\ No newline at end of file |
