Ejemplo n.º 1
0
 public static IList <string> FindRoleNameByUserId(int userId, Connection connection, MySqlTransaction transaction = null)
 {
     using (var dao = new UserRoleDAO(connection))
     {
         return(dao.FindRoleNameByUserId(userId, null));
     }
 }