public Message[] GetByThreadId(string threadId) { Thread thread = _threadService.Get(threadId); return(_messageService.GetByThread(thread)); }
public ActionResult <List <Thread> > Get() => _threadService.Get();