public HttpResponseMessage DeleteWarningInfo(string WarningSearchDTO) { WarningSearchDTO dto = TransformHelper.ConvertBase64JsonStringToDTO <WarningSearchDTO>(WarningSearchDTO); var actionresult = _ICommonServices.DeleteWarningInfo(dto); HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(JsonConvert.SerializeObject(actionresult), System.Text.Encoding.GetEncoding("UTF-8"), "application/json") }; return(result); }