public static int SaveCertification(CertificationInfo certificaiton) { if (certificaiton == null) { return(0); } using (var trans = TransactionManager.Create()) { StoreDA.InsertApplication(certificaiton); StoreDA.InsertCertificationAttachment(certificaiton); trans.Complete(); } return(1); }