Added primitive search mechanism in backend.
Began implementing search mechanism for frontend.
This commit is contained in:
@@ -15,24 +15,10 @@ namespace Props.Controllers
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("Shops/Available")]
|
||||
[Route("Available")]
|
||||
public IActionResult GetAvailableShops()
|
||||
{
|
||||
return Ok(shopManager.AvailableShops());
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("Default/Filters")]
|
||||
public IActionResult GetDefaultFilters()
|
||||
{
|
||||
return Ok(defaultOutline.Filters);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("Default/DisabledShops")]
|
||||
public IActionResult GetDefaultDisabledShops()
|
||||
{
|
||||
return Ok(defaultOutline.Disabled);
|
||||
return Ok(shopManager.GetAllShopNames());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user