This commit is contained in:
mmrbnjd
2025-07-12 16:59:25 +03:30
parent ff342a53c0
commit d397f70b9a
9 changed files with 82 additions and 87 deletions

View File

@@ -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)
{