public void UserSearchForm(string filtername, UserSearchFormTemplate formBody) { AdminUserFilter filter = AdminUserFilter.GetFromFilter(filtername); if (filter == null) { filter = new AdminUserFilter(); filter.Order = UserOrderBy.UserID; filter.IsDesc = true; } formBody.Invoke(new UserSearchFormParams(filter)); }
public void UserSearchForm(string filtername, UserSearchFormTemplate formBody) { AdminUserFilter filter = AdminUserFilter.GetFromFilter(filtername); if (filter == null) { filter = new AdminUserFilter(); filter.Order = UserOrderBy.UserID; filter.IsDesc = true; } formBody.Invoke(new UserSearchFormParams(filter)); }