public static Boolean CreateCorrespondenceDocument(CorrespondenceDocumentMaster Correspondence) { Boolean flag = false; try { IRecordInsert objtext = new BALCorrespondenceDocument(); flag = objtext.AddRecord(Correspondence); } catch (Exception ex) { throw; } return flag; }