public IActionResult GetData() { var data = _channelApp.GetData(); return(Content(data.ToJson())); }
public IActionResult GetData() { var data = _channelApp.GetData(); return(Json(data)); }