/// <summary> /// Get a chat with a list of messages. /// </summary> /// <param name="chatId"> /// The id of the chat. /// </param> /// <param name="userId"> /// The id of the user that requests the chat. /// </param> /// <returns> /// A chat with a list of messages. /// </returns> /// <remarks> /// The ChatModel object has Application.Id as Id, HelpRequest.Title as Title, Application.Status as Status. /// </remarks> public ChatModel Get(int chatId) { return(context.Get(chatId)); }