public IActionResult GetEnroll() { BaseResponseDto <TopicEnrollCountModel> result = _topic.CountEnroll(); if (result.Content == null || !result.Content.Any()) { return(Ok("There are no topics in the request")); } return(Ok(result)); }
public IActionResult GetEnroll() { BaseResponseDto <TopicEnrollCountModel> result = _topic.CountEnroll(); if (result.Content == null || !result.Content.Any()) { return(Ok("There are no topics in the request")); } return(Ok(result)); }