public virtual async Task <ServiceResponse <string> > AuditAsync(ContextBasedAuditData data) { var result = new ServiceResponse <string>(); var cmd = Db.GetCommand("usp0_Audit_by_context"); await Db.ExecuteNonQueryAsync(cmd, data); return(result); }
public virtual ServiceResponse <string> Audit(ContextBasedAuditData data) { var result = new ServiceResponse <string>(); var cmd = Db.GetCommand("usp0_Audit_by_context"); Db.ExecuteNonQuery(cmd, data); return(result); }