Guest User

Untitled

a guest
Jan 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Threading.Tasks;
  4. using feedme.platform.Shared.Data.Entity;
  5. using feedme.platform.Shared.Services.Azure;
  6.  
  7. namespace feedme.platform.Shared.Processes.CategoryProcesses
  8. {
  9. public interface ICategorySearch
  10. {
  11. Task<List<dynamic>> ExecuteSearch(dynamic reqPayload);
  12. }
  13.  
  14. public class CategorySearch : ICategorySearch
  15. {
  16. private readonly string _indexName;
  17.  
  18. public ISearchServices SearchServices { get; set; }
  19.  
  20. public CategorySearch()
  21. {
  22. _indexName = $"{typeof(Source).Name.ToLower()}-index";
  23. }
  24.  
  25. public Task<List<dynamic>> ExecuteSearch(dynamic reqPayload)
  26. {
  27. throw new NotImplementedException();
  28. }
  29. }
  30. }
Add Comment
Please, Sign In to add comment