//[ValidateAntiForgeryToken]
 public ActionResult Create(JobTitleDocument jobTitleDocument)
 {
     try
     {
         List <string> errorList = this.UploadErrorList(jobTitleDocument.Attachment.FileName, jobTitleDocument.Attachment.ContentLength);
         if (errorList.Count == 0)
         {
             HRBusinessService.CreateJobTitleDocument(UserOrganisationId, jobTitleDocument, User.Identity.Name);
         }
         else
         {
             return(this.JsonNet(errorList));
         }
         return(this.JsonNet(
                    ModelState.Values.Where(e => e.Errors.Count > 0)
                    .Select(e => e.Errors.Select(d => d.ErrorMessage).FirstOrDefault())
                    .Distinct()));
     }
     catch (Exception ex)
     {
         return(this.JsonNet(ex));
     }
 }