public HttpResponseMessage GetAllLogByBelongModel(string BelongModel) { List <LogDTO> logs = _ICommonServices.GetAllLogByBelongModel(BelongModel); HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(JsonConvert.SerializeObject(logs), System.Text.Encoding.GetEncoding("UTF-8"), "application/json") }; return(result); }