public IActionResult GetMessageSenders(int index, int size) { string userId = GetUserId(); if (userId == "error") { return(Unauthorized()); } var senders = _messageSenderService.GetMessageSenders(userId, index, size); return(Ok(senders)); }
public IActionResult GetMessageSenders(int index, int size) { string userId = GetUserId(); if (userId == "error") { return(Unauthorized()); } var senders = _messageSenderService.GetMessageSenders(userId, index, size); return(Ok(senders)); }