Пример #1
0
 public IHttpActionResult GetRecord(Dictionary <string, object> SearchData)
 {
     try
     {
         string ServerImageURL = Lib.GetSeverImageURL(SearchData["comp_code"].ToString());
         using (DocService obj = new DocService())
             return(Ok(obj.GetRecord(SearchData, ServerImageURL)));
     }
     catch (Exception Ex)
     {
         return(ResponseMessage(Request.CreateErrorResponse(HttpStatusCode.BadRequest, Ex.Message.ToString())));
     }
 }