Пример #1
0
 public async Task <ActionResult <ThreadWithContactsResponseModel> > GetAllThreadsByUserIdAsync([FromRoute] int userId, [FromQuery(Name = "limit")] int limit = -1, [FromQuery(Name = "type")] FetchThreadType fetchType = FetchThreadType.All)
 {
     return(Ok(await _threadManager.GetThreadsByUserId(userId, limit, fetchType)));
 }