Пример #1
0
        public async Task <IActionResult> LoadPreviousMessage([FromQuery] Guid messGroupId,
                                                              [FromQuery] Guid?oldestUserMessageId)
        {
            var res = await _UserMessageService.GetPreviousMessages(messGroupId, 10, oldestUserMessageId);

            return(PartialView("~/Pages/Discussions/Partials/MessageBox.cshtml", res));
        }