public void CreateAuditRecords(Models.AuditRecord auditRecord, string updatingUserId) { var daoAuditRecord = ObjectFactory.CreateInstanceAndMap <Models.AuditRecord, AuditRecord>(_iCommonMapper, auditRecord); _iAuditRepository.CreateAuditRecords(daoAuditRecord, updatingUserId); }