Search by forum title
This commit is contained in:
@@ -18,9 +18,13 @@ namespace WebApi.Controllers
|
||||
}
|
||||
|
||||
|
||||
public IHttpActionResult Get(string author)
|
||||
public IHttpActionResult GetAuthor(string author)
|
||||
{
|
||||
return Ok(_foorumService.SearchFoorumAuthor(author));
|
||||
}
|
||||
public IHttpActionResult GetTitle(string title)
|
||||
{
|
||||
return Ok(_foorumService.SearchFoorumTitle(title));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user