Example #1
0
 public IHttpActionResult LoadDefault(Dictionary <string, object> SearchData)
 {
     try
     {
         using (DocService obj = new DocService())
             return(Ok(obj.LoadDefault(SearchData)));
     }
     catch (Exception Ex)
     {
         return(ResponseMessage(Request.CreateErrorResponse(HttpStatusCode.BadRequest, Ex.Message.ToString())));
     }
 }