...
This commit is contained in:
@@ -16,13 +16,14 @@ namespace Hushian.WebApi.Controllers.v1
|
||||
private readonly ConversationService _conversationService;
|
||||
private readonly CompanyService _companyService;
|
||||
private readonly ExperService _experService;
|
||||
public ConversationController(ConversationService conversationService, CompanyService companyService)
|
||||
public ConversationController(ConversationService conversationService, CompanyService companyService, ExperService experService)
|
||||
{
|
||||
_conversationService = conversationService;
|
||||
_companyService = companyService;
|
||||
_experService = experService;
|
||||
}
|
||||
|
||||
[HttpGet("MyConversation")]
|
||||
[HttpPost("MyConversation")]
|
||||
[Authorize(Roles = "Company,Exper")]
|
||||
public async Task<ActionResult> MyConversation(ConversationStatus status)
|
||||
{
|
||||
|
Reference in New Issue
Block a user