public IActionResult GetChannelMessages(int id) { if (!ModelState.IsValid) { return(BadRequest()); } return(Ok(channelHandler.GetChannelMessages(id))); }
public IActionResult GetChannelMessages(int id) { if (!ModelState.IsValid) { return(BadRequest()); } return(Ok(channelHandler.GetChannelMessages(id))); }