public async Task <T> GetFirstOrDefaultAsync <T>(object conditions) { SetSimpleCRUD(); using (var conn = new SqlConnection(_connectionString)) { conn.Open(); var ret = await _simpleCRUD.GetFirstOrDefaultAsync <T>(conn, conditions); conn.Close(); return(ret); } }