public HttpResponseMessage AddFilesToIndex(PostedDataEntity[] postedData)
 {
     try
     {
         SearchService.AddFilesToIndex(postedData, this.globalConfiguration);
         return(this.Request.CreateResponse(HttpStatusCode.OK));
     }
     catch (Exception ex)
     {
         return(this.Request.CreateResponse(HttpStatusCode.InternalServerError, new Resources().GenerateException(ex)));
     }
 }