public ApiResult GetFollowCounts(string id) { try { var result = _followService.GetFollowCount(id); return(ApiResult.Success(result)); } catch (System.Exception) { return(ApiResult.BadRequest("Something went wrong")); } }
public ApiResult GetFollowCounts(string id) { try { var result = _followService.GetFollowCount(id); return(ApiResult.Success(result)); } catch (System.Exception) { return(ApiResult.BadRequest("Something went wrong")); } }